Index: trunk/EventBenchConsole/rules/ruleSchema.xsd
===================================================================
--- trunk/EventBenchConsole/rules/ruleSchema.xsd	(revision 140)
+++ trunk/EventBenchConsole/rules/ruleSchema.xsd	(revision 141)
@@ -190,4 +190,5 @@
       <xs:enumeration value="hwnd"/>
       <xs:enumeration value="parentTarget"/>
+      <xs:enumeration value="parentClass"/>
     </xs:restriction>
   </xs:simpleType>
Index: trunk/EventBenchConsole/rules/rules.xml
===================================================================
--- trunk/EventBenchConsole/rules/rules.xml	(revision 140)
+++ trunk/EventBenchConsole/rules/rules.xml	(revision 141)
@@ -56,6 +56,4 @@
   </rule>
 
-  
-  <!-- The tab change itself works, but the content of the tab is not refreshed. -->
   <rule name="TabChange">
     <msg type="&WM_LBUTTONDOWN;">
@@ -73,4 +71,5 @@
       <store var="up"/>
     </msg>
+    <!-- tab change message for Tab Controls-->
     <genMsg delay="20">
       <type>
@@ -79,4 +78,16 @@
       <target>
         <msgInfoValue obj="up" msgParam="target"/>
+      </target>
+      <WPARAM>
+        <paramValue obj="up" param="scrollPos"/>
+      </WPARAM>
+    </genMsg>
+    <!-- tab change message for Property Pages-->
+    <genMsg delay="20">
+      <type>
+        <constValue value="1125"/>
+      </type>
+      <target>
+        <winInfoValue obj="up" winParam="parentTarget"/>
       </target>
       <WPARAM>
Index: trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/EventGenerator.java
===================================================================
--- trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/EventGenerator.java	(revision 140)
+++ trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/EventGenerator.java	(revision 141)
@@ -564,4 +564,6 @@
 					}
 					value = target.substring(0, index);
+				} else if (paramString.equals("parentClass")) {
+					value = varMessage.getParentClass();
 				}
 			}
Index: trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/data/WindowsMessage.java
===================================================================
--- trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/data/WindowsMessage.java	(revision 140)
+++ trunk/EventBenchConsole/src/de/ugoe/cs/eventbench/windows/data/WindowsMessage.java	(revision 141)
@@ -19,4 +19,5 @@
 	private String xmlWindowDescription = "";
 	private String parentNames = null;
+	private String parentClass = null;
 
 	private long LPARAM = 0;
@@ -115,4 +116,10 @@
 			xmlWindowDescription = node.xmlRepresentation();
 			parentNames = node.getParentNames();
+			WindowTreeNode parent = node.getParent();
+			if( parent==null ) {
+				parentClass = "";
+			} else {
+				parentClass = parent.getClassName();
+			}
 		}
 	}
@@ -168,4 +175,8 @@
 	public String getParentNames() {
 		return parentNames;
+	}
+	
+	public String getParentClass() {
+		return parentClass;
 	}
 
