Index: trunk/EventBenchConsole/rules/rules.xml
===================================================================
--- trunk/EventBenchConsole/rules/rules.xml	(revision 141)
+++ trunk/EventBenchConsole/rules/rules.xml	(revision 152)
@@ -18,5 +18,5 @@
       </equals>
     </msg>
-    <genMsg delay="100">
+    <genMsg delay="500">
       <type>
         <constValue value="&BM_CLICK;"/>
@@ -43,5 +43,5 @@
       <store var="up"/>
     </msg>
-    <genMsg delay="1000">
+    <genMsg delay="500">
       <type>
         <constValue value="&LB_SETCURSEL;"/>
@@ -72,5 +72,5 @@
     </msg>
     <!-- tab change message for Tab Controls-->
-    <genMsg delay="20">
+    <genMsg delay="100">
       <type>
         <constValue value="&TCM_SETCURSEL;"/>
@@ -84,5 +84,5 @@
     </genMsg>
     <!-- tab change message for Property Pages-->
-    <genMsg delay="20">
+    <genMsg delay="500">
       <type>
         <constValue value="1125"/>
@@ -97,5 +97,5 @@
   </rule>
 
-
+<!--
   <rule name="ComboBox">
     <msg type="&WM_LBUTTONDOWN;">
@@ -139,5 +139,5 @@
       </target>
     </genMsg>
-    <genMsg delay="100">
+    <genMsg delay="500">
       <type>
         <constValue value="&CB_SHOWDROPDOWN;"/>
@@ -178,7 +178,147 @@
         <seqValue seqObj="cmds" param="WPARAM"/>
       </WPARAM>
-    </genMsgSeq>-->
+    </genMsgSeq>->
+  </rule>
+  <rule name="ComboLBox">
+    <msg type="&WM_LBUTTONDOWN;">
+      <equals>
+        <winInfoValue obj="this" winParam="class"/>
+        <constValue value="ComboLBox"/>
+      </equals>
+      <store var="clicked"/>
+    </msg>
+    <msg type="&WM_COMMAND;">
+      <equals>
+        <paramValue obj="this" param="window.hwnd"/>
+        <paramValue obj="clicked" param="window.hwnd"/>
+      </equals>
+      <store var="cmd1">
+        <resolveHwnd param="source" storeParam="sourceDesc"/>
+      </store>
+    </msg>
+    <msg type="&WM_COMMAND;" multiple="true">
+      <equals>
+        <paramValue obj="this" param="source"/>
+        <paramValue obj="clicked" param="window.hwnd"/>
+      </equals>
+      <storeSeq varSeq="cmds">
+        <resolveHwnd param="window.hwnd" storeParam="msgTarget"/>
+        <resolveHwnd param="source" storeParam="sourceDesc"/>
+      </storeSeq>
+    </msg>
+    <msg type="&WM_LBUTTONUP;">
+      <equals>
+        <paramValue obj="this" param="window.hwnd"/>
+        <paramValue obj="clicked" param="window.hwnd"/>
+      </equals>
+    </msg>
+    <genMsg delay="100">
+      <type>
+        <constValue value="&WM_SETFOCUS;"/>
+      </type>
+      <target>
+        <msgInfoValue obj="clicked" msgParam="target"/>
+      </target>
+    </genMsg>
+    <genMsg delay="500">
+      <type>
+        <constValue value="&CB_SHOWDROPDOWN;"/>
+      </type>
+      <target>
+        <msgInfoValue obj="clicked" msgParam="target"/>
+      </target>
+      <WPARAM>
+        <constValue value="1"/>
+      </WPARAM>
+    </genMsg>
   </rule>
   
+  <rule name="LeftClickCommandComboLBox">
+    <msg type="&WM_LBUTTONDOWN;">
+      <equals>
+        <constValue value="ComboLBox"/>
+        <winInfoValue obj="this" winParam="class"/>
+      </equals>
+      <store var="clicked"/>
+    </msg>
+    <msg type="&WM_LBUTTONUP;">
+      <equals>
+        <paramValue obj="clicked" param="window.hwnd"/>
+        <paramValue obj="this" param="window.hwnd"/>
+      </equals>
+      <store var="up"/>
+    </msg>
+    <msg type="&WM_COMMAND;">
+      <equals>
+        <paramValue obj="clicked" param="window.hwnd"/>
+        <paramValue obj="this" param="source"/>
+      </equals>
+      <store var="cmd1">
+        <resolveHwnd param="source" storeParam="sourceDesc"/>
+      </store>
+    </msg>
+    <msg type="&WM_COMMAND;" multiple="true">
+      <equals>
+        <paramValue obj="this" param="source"/>
+        <paramValue obj="cmd1" param="window.hwnd"/>
+      </equals>
+      <storeSeq varSeq="cmds">
+        <resolveHwnd param="window.hwnd" storeParam="target"/>
+        <resolveHwnd param="source" storeParam="sourceDesc"/>
+      </storeSeq>
+    </msg>
+    <genMsg delay="100">
+      <type>
+        <constValue value="&CB_SETCURSEL;"/>
+      </type>
+      <target>
+        <msgInfoValue obj="up" msgParam="target"/>
+      </target>
+      <WPARAM>
+        <constValue value="1"/>
+        <!--<paramValue obj="up" param="scrollPos"/>->
+      </WPARAM>
+    </genMsg>
+    <genMsg delay="100">
+      <type>
+        <constValue value="&CB_SHOWDROPDOWN;"/>
+      </type>
+      <target>
+        <winInfoValue obj="clicked" winParam="parentTarget"/>
+      </target>
+      <WPARAM>
+        <constValue value="0"/>
+      </WPARAM>
+    </genMsg>
+    <genMsg delay="100">
+      <type>
+        <constValue value="&WM_COMMAND;"/>
+      </type>
+      <target>
+        <winInfoValue obj="cmd1" winParam="parentTarget"/>
+      </target>
+      <LPARAM>
+        <paramValue obj="cmd1" param="sourceDesc"/>
+      </LPARAM>
+      <WPARAM>
+        <paramValue obj="cmd1" param="WPARAM"/>
+      </WPARAM>
+    </genMsg>
+    <genMsgSeq delay="100">
+      <type>
+        <constValue value="&WM_COMMAND;"/>
+      </type>
+      <target>
+        <seqValue seqObj="cmds" param="target"/>
+      </target>
+      <LPARAM>
+        <seqValue seqObj="cmds" param="sourceDesc"/>
+      </LPARAM>
+      <WPARAM>
+        <seqValue seqObj="cmds" param="WPARAM"/>
+      </WPARAM>
+    </genMsgSeq>
+  </rule>-->
+
   <rule name="LeftClickCommand">
     <msg type="&WM_LBUTTONDOWN;">
@@ -200,5 +340,5 @@
       </store>
     </msg>
-    <genMsg delay="100">
+    <genMsg delay="500">
       <type>
         <msgInfoValue obj="cmd" msgParam="type"/>
@@ -229,5 +369,5 @@
       <store var="cmd"/>
     </msg>
-    <genMsg delay="100">
+    <genMsg delay="500">
       <storedVar obj="cmd"/>
     </genMsg>
@@ -251,5 +391,5 @@
       <store var="cmd"/>
     </msg>
-    <genMsg delay="100">
+    <genMsg delay="500">
       <storedVar obj="cmd"/>
     </genMsg>
@@ -279,5 +419,5 @@
       <store var="cmd"/>
     </msg>
-    <genMsg delay="100">
+    <genMsg delay="500">
       <storedVar obj="cmd"/>
     </genMsg>
@@ -309,5 +449,5 @@
       </equals>
     </msg>
-    <genMsgSeq delay="20">
+    <genMsgSeq delay="50">
       <type>
         <constValue value="&TBM_SETPOS;"/>
@@ -349,5 +489,5 @@
       </equals>
     </msg>
-    <genMsgSeq delay="20">
+    <genMsgSeq delay="50">
       <type>
         <constValue value="&TBM_SETPOS;"/>
@@ -389,5 +529,5 @@
       </equals>
     </msg>
-    <genMsgSeq delay="20">
+    <genMsgSeq delay="50">
       <type>
         <constValue value="&SBM_SETPOS;"/>
@@ -429,5 +569,5 @@
       </equals>
     </msg>
-    <genMsgSeq delay="20">
+    <genMsgSeq delay="50">
       <type>
         <constValue value="&SBM_SETPOS;"/>
@@ -457,5 +597,5 @@
       <store var="scrolls"/>
     </msg>
-    <genMsg delay="20">
+    <genMsg delay="50">
       <type>
         <constValue value="&WM_VSCROLL;"/>
@@ -547,5 +687,5 @@
       </WPARAM>
     </genMsg>
-    <genMsg delay="100">
+    <genMsg delay="500">
       <type>
         <constValue value="&WM_COMMAND;"/>
@@ -599,5 +739,5 @@
       </equals>
     </msg>
-    <genMsg delay="20">
+    <genMsg delay="100">
       <type>
         <constValue value="&WM_KILLFOCUS;"/>
@@ -610,5 +750,5 @@
       </WPARAM>
     </genMsg>
-    <genMsg delay="20">
+    <genMsg delay="100">
       <type>
         <constValue value="&WM_SETFOCUS;"/>
@@ -621,5 +761,5 @@
       </WPARAM>
     </genMsg>
-    <genMsg delay="100">
+    <genMsg delay="500">
       <type>
         <constValue value="&WM_COMMAND;"/>
@@ -643,5 +783,5 @@
       <store var="keydown"/>
     </msg>
-    <genMsg delay="20">
+    <genMsg delay="100">
       <storedVar obj="keydown"/>
     </genMsg>
@@ -655,5 +795,5 @@
       <store var="keyup"/>
     </msg>
-    <genMsg delay="20">
+    <genMsg delay="500">
       <storedVar obj="keyup"/>
     </genMsg>
@@ -667,5 +807,5 @@
       <store var="keydown"/>
     </msg>
-    <genMsg delay="20">
+    <genMsg delay="100">
       <storedVar obj="keydown"/>
     </genMsg>
@@ -679,5 +819,5 @@
       <store var="keyup"/>
     </msg>
-    <genMsg delay="20">
+    <genMsg delay="500">
       <storedVar obj="keyup"/>
     </genMsg>
@@ -700,5 +840,5 @@
       <store var="up"/>
     </msg>
-    <genMsg delay="20">
+    <genMsg delay="100">
       <type>
         <constValue value="&WM_LBUTTONDOWN;"/>
@@ -719,5 +859,5 @@
       </WPARAM>
     </genMsg>
-    <genMsg delay="20">
+    <genMsg delay="500">
       <type>
         <constValue value="&WM_LBUTTONUP;"/>
@@ -751,5 +891,5 @@
       <store var="up"/>
     </msg>
-    <genMsg delay="20">
+    <genMsg delay="100">
       <type>
         <constValue value="&WM_NCLBUTTONDOWN;"/>
@@ -770,5 +910,5 @@
       </WPARAM>
     </genMsg>
-    <genMsg delay="20">
+    <genMsg delay="500">
       <type>
         <constValue value="&WM_LBUTTONUP;"/>
