Changeset 37 for trunk/EventBenchConsole/rules
- Timestamp:
- 05/12/11 14:29:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/rules/rules.xml
r35 r37 55 55 </genMsg> 56 56 </rule> 57 58 59 <!--Wird in einem Tabfeld auch wirklich auf ein Tabelement geklickt (und nicht in den Content darunter), wird eine WM_USER Nachricht versendet, d.h. 60 1) Irgendwo in das Tabfeld klicken: WM_LBUTTONDOWN 61 2) Auf ein Tabelement klicken: WM_LBUTTONDOWN + WM_USER --> 62 <rule name="TabChange"> 63 <msg type="&WM_LBUTTONDOWN;"> 64 <equals> 65 <constValue value="SysTabControl32"/> 66 <winInfoValue obj="this" winParam="class"/> 67 </equals> 68 <store var="clicked"/> 69 </msg> 70 <msg type="&WM_USER;"> 71 </msg> 72 <msg type="&WM_LBUTTONUP;"> 73 <equals> 74 <paramValue obj="this" param="window.hwnd"/> 75 <paramValue obj="clicked" param="window.hwnd"/> 76 </equals> 77 <store var="up"/> 78 </msg> 79 <genMsg delay="20"> 80 <type> 81 <constValue value="&TCM_SETCURSEL;"/> 82 </type> 83 <target> 84 <msgInfoValue obj="up" msgParam="target"/> 85 </target> 86 <WPARAM> 87 <paramValue obj="up" param="scrollPos"/> 88 </WPARAM> 89 </genMsg> 90 </rule> 57 91 58 92 … … 260 294 <msg type="&WM_LBUTTONUP;"> 261 295 <equals> 262 <paramValue obj=" clicked" param="window.hwnd"/>296 <paramValue obj="this" param="window.hwnd"/> 263 297 <paramValue obj="clicked" param="window.hwnd"/> 264 298 </equals> … … 272 306 </target> 273 307 <LPARAM> 308 <seqValue seqObj="scrolls" param="scrollPos"/> 309 </LPARAM> 310 <WPARAM> 274 311 <constValue value="1"/> 275 </LPARAM>276 <WPARAM>277 <seqValue seqObj="scrolls" param="scrollPos"/>278 312 </WPARAM> 279 313 </genMsgSeq> 280 314 </rule> 281 315 316 317 282 318 <!-- if nothing else, at least switch focus, works only partially --> 283 319 <rule name="LeftClickChangeFocus">
Note: See TracChangeset
for help on using the changeset viewer.