Changeset 50 for trunk/EventBenchConsole
- Timestamp:
- 06/07/11 13:19:56 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/rules/rules.xml
r46 r50 503 503 </rule>--> 504 504 505 505 <!-- copy of set focus without kill-foxus --> 506 <rule name="LeftClickSetFocus"> 507 <msg type="&WM_LBUTTONDOWN;"> 508 <equals> 509 <winInfoValue obj="this" winParam="class"/> 510 <constValue value="Edit"/> 511 </equals> 512 <store var="clicked"/> 513 </msg> 514 <msg type="&WM_SETFOCUS;"> 515 <store var="setfocus"/> 516 </msg> 517 <msg type="&WM_COMMAND;"> 518 <equals> 519 <paramValue obj="this" param="source"/> 520 <paramValue obj="clicked" param="window.hwnd"/> 521 </equals> 522 <equals> 523 <paramValue obj="this" param="sourceType"/> 524 <constValue value="256"/> 525 </equals> 526 <store var="cmd"/> 527 </msg> 528 <msg type="&WM_LBUTTONUP;"> 529 <equals> 530 <paramValue obj="this" param="window.hwnd"/> 531 <paramValue obj="clicked" param="window.hwnd"/> 532 </equals> 533 </msg> 534 <genMsg delay="20"> 535 <type> 536 <constValue value="&WM_SETFOCUS;"/> 537 </type> 538 <target> 539 <msgInfoValue obj="setfocus" msgParam="target"/> 540 </target> 541 <WPARAM> 542 <constValue value="0"/> 543 </WPARAM> 544 </genMsg> 545 <genMsg delay="100"> 546 <type> 547 <constValue value="&WM_COMMAND;"/> 548 </type> 549 <target> 550 <msgInfoValue obj="cmd" msgParam="target"/> 551 </target> 552 <LPARAM> 553 <msgInfoValue obj="setfocus" msgParam="target"/> 554 </LPARAM> 555 <WPARAM> 556 <paramValue obj="cmd" param="WPARAM"/> 557 </WPARAM> 558 </genMsg> 559 </rule> 506 560 507 561 <!-- if nothing else, at least switch focus, works only partially -->
Note: See TracChangeset
for help on using the changeset viewer.