Changeset 35


Ignore:
Timestamp:
05/05/11 11:52:30 (13 years ago)
Author:
jhall
Message:

Added rules regarding listBoxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchConsole/rules/rules.xml

    r1 r35  
    2828</rule> 
    2929 
     30  <rule name="LeftClickListBox"> 
     31    <msg type="&WM_LBUTTONDOWN;"> 
     32      <equals> 
     33        <winInfoValue obj="this" winParam="class"/> 
     34        <constValue value="ListBox"/> 
     35      </equals> 
     36      <store var="clicked"/> 
     37    </msg> 
     38    <msg type="&WM_LBUTTONUP;"> 
     39      <equals> 
     40        <paramValue obj="this" param="window.hwnd"/> 
     41        <paramValue obj="clicked" param="window.hwnd"/> 
     42      </equals> 
     43      <store var="up"/> 
     44    </msg> 
     45    <genMsg delay="1000"> 
     46      <type> 
     47        <constValue value="&LB_SETCURSEL;"/> 
     48      </type> 
     49      <target> 
     50        <msgInfoValue obj="clicked" msgParam="target"/> 
     51      </target> 
     52      <WPARAM> 
     53        <paramValue obj="up" param="scrollPos"/> 
     54      </WPARAM> 
     55    </genMsg> 
     56  </rule> 
     57   
     58 
    3059  <rule name="ComboBox"> 
    3160    <msg type="&WM_LBUTTONDOWN;"> 
     
    250279    </genMsgSeq> 
    251280  </rule> 
    252    
     281 
    253282  <!-- if nothing else, at least switch focus, works only partially --> 
    254283  <rule name="LeftClickChangeFocus"> 
Note: See TracChangeset for help on using the changeset viewer.