Changeset 46
- Timestamp:
- 05/19/11 16:41:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchConsole/rules/rules.xml
r37 r46 60 60 1) Irgendwo in das Tabfeld klicken: WM_LBUTTONDOWN 61 61 2) Auf ein Tabelement klicken: WM_LBUTTONDOWN + WM_USER --> 62 <rule name="TabChange ">62 <rule name="TabChanged"> 63 63 <msg type="&WM_LBUTTONDOWN;"> 64 64 <equals> … … 89 89 </genMsg> 90 90 </rule> 91 91 92 92 93 93 <rule name="ComboBox"> … … 279 279 280 280 <!-- rules involving mouse movement --> 281 <rule name="HScroll"> 282 <msg type="&WM_LBUTTONDOWN;"> 281 <rule name="HScroll_TrackBar"> 282 <msg type="&WM_LBUTTONDOWN;"> 283 <equals> 284 <winInfoValue obj="this" winParam="class"/> 285 <constValue value="msctls_trackbar32"/> 286 </equals> 283 287 <store var="clicked"/> 284 288 </msg> … … 291 295 <resolveHwnd param="scrollBarHandle" storeParam="scrollBarTarget"/> 292 296 </storeSeq> 293 </msg> 297 </msg> 294 298 <msg type="&WM_LBUTTONUP;"> 295 299 <equals> … … 314 318 </rule> 315 319 316 320 321 <rule name="VScroll_TrackBar"> 322 <msg type="&WM_LBUTTONDOWN;"> 323 <equals> 324 <winInfoValue obj="this" winParam="class"/> 325 <constValue value="msctls_trackbar32"/> 326 </equals> 327 <store var="clicked"/> 328 </msg> 329 <msg type="&WM_VSCROLL;" multiple="true"> 330 <equals> 331 <paramValue obj="this" param="scrollBarHandle"/> 332 <paramValue obj="clicked" param="window.hwnd"/> 333 </equals> 334 <storeSeq varSeq="scrolls"> 335 <resolveHwnd param="scrollBarHandle" storeParam="scrollBarTarget"/> 336 </storeSeq> 337 </msg> 338 <msg type="&WM_LBUTTONUP;"> 339 <equals> 340 <paramValue obj="this" param="window.hwnd"/> 341 <paramValue obj="clicked" param="window.hwnd"/> 342 </equals> 343 </msg> 344 <genMsgSeq delay="20"> 345 <type> 346 <constValue value="&TBM_SETPOS;"/> 347 </type> 348 <target> 349 <seqValue seqObj="scrolls" param="scrollBarTarget"/> 350 </target> 351 <LPARAM> 352 <seqValue seqObj="scrolls" param="scrollPos"/> 353 </LPARAM> 354 <WPARAM> 355 <constValue value="1"/> 356 </WPARAM> 357 </genMsgSeq> 358 </rule> 359 360 361 <rule name="HScroll_ScrollBar"> 362 <msg type="&WM_LBUTTONDOWN;"> 363 <equals> 364 <winInfoValue obj="this" winParam="class"/> 365 <constValue value="ScrollBar"/> 366 </equals> 367 <store var="clicked"/> 368 </msg> 369 <msg type="&WM_HSCROLL;" multiple="true"> 370 <equals> 371 <paramValue obj="this" param="scrollBarHandle"/> 372 <paramValue obj="clicked" param="window.hwnd"/> 373 </equals> 374 <storeSeq varSeq="scrolls"> 375 <resolveHwnd param="scrollBarHandle" storeParam="scrollBarTarget"/> 376 </storeSeq> 377 </msg> 378 <msg type="&WM_LBUTTONUP;"> 379 <equals> 380 <paramValue obj="this" param="window.hwnd"/> 381 <paramValue obj="clicked" param="window.hwnd"/> 382 </equals> 383 </msg> 384 <genMsgSeq delay="20"> 385 <type> 386 <constValue value="&SBM_SETPOS;"/> 387 </type> 388 <target> 389 <seqValue seqObj="scrolls" param="scrollBarTarget"/> 390 </target> 391 <LPARAM> 392 <constValue value="1"/> 393 </LPARAM> 394 <WPARAM> 395 <seqValue seqObj="scrolls" param="scrollPos"/> 396 </WPARAM> 397 </genMsgSeq> 398 </rule> 399 400 401 <rule name="VScroll_ScrollBar"> 402 <msg type="&WM_LBUTTONDOWN;"> 403 <equals> 404 <winInfoValue obj="this" winParam="class"/> 405 <constValue value="ScrollBar"/> 406 </equals> 407 <store var="clicked"/> 408 </msg> 409 <msg type="&WM_VSCROLL;" multiple="true"> 410 <equals> 411 <paramValue obj="this" param="scrollBarHandle"/> 412 <paramValue obj="clicked" param="window.hwnd"/> 413 </equals> 414 <storeSeq varSeq="scrolls"> 415 <resolveHwnd param="scrollBarHandle" storeParam="scrollBarTarget"/> 416 </storeSeq> 417 </msg> 418 <msg type="&WM_LBUTTONUP;"> 419 <equals> 420 <paramValue obj="this" param="window.hwnd"/> 421 <paramValue obj="clicked" param="window.hwnd"/> 422 </equals> 423 </msg> 424 <genMsgSeq delay="20"> 425 <type> 426 <constValue value="&SBM_SETPOS;"/> 427 </type> 428 <target> 429 <seqValue seqObj="scrolls" param="scrollBarTarget"/> 430 </target> 431 <LPARAM> 432 <constValue value="1"/> 433 </LPARAM> 434 <WPARAM> 435 <seqValue seqObj="scrolls" param="scrollPos"/> 436 </WPARAM> 437 </genMsgSeq> 438 </rule> 439 440 441 442 <!-- Wenn eine Scrollbar benutzt wurde, die kein eigenes Handle hat, also eine StandardScrollbar in einer ListBox zb 443 Muss noch auf Sequenz erweitert werden, im Moment wird der Thumb der Scrollbar nur auf die erste Position gesetzt (normalerweise also 0) --> 444 <rule name="VScrollNC"> 445 <msg type="&WM_NCLBUTTONDOWN;"> 446 <store var="clicked"/> 447 </msg> 448 <msg type="&WM_VSCROLL;"> 449 <equals> 450 <paramValue obj="this" param="window.hwnd"/> 451 <paramValue obj="clicked" param="window.hwnd"/> 452 </equals> 453 <store var="scrolls"/> 454 </msg> 455 <genMsg delay="20"> 456 <type> 457 <constValue value="&WM_VSCROLL;"/> 458 </type> 459 <target> 460 <msgInfoValue obj="clicked" msgParam="target"/> 461 </target> 462 <WPARAM> 463 <LOWORD> 464 <constValue value="4"/> 465 </LOWORD> 466 <HIWORD> 467 <paramValue obj="scrolls" param="scrollPos"/> 468 </HIWORD> 469 </WPARAM> 470 </genMsg> 471 </rule> 472 473 474 <!--<rule name="VScrollNC"> 475 <msg type="&WM_NCLBUTTONDOWN;"> 476 <store var="clicked"/> 477 </msg> 478 <msg type="&WM_VSCROLL;" multiple="true"> 479 <equals> 480 <paramValue obj="this" param="window.hwnd"/> 481 <paramValue obj="clicked" param="window.hwnd"/> 482 </equals> 483 <storeSeq varSeq="scrolls"> 484 <resolveHwnd param="window.hwnd" storeParam="scrollBarTarget"/> 485 </storeSeq> 486 </msg> 487 <genMsgSeq delay="20"> 488 <type> 489 <constValue value="&WM_VSCROLL;"/> 490 </type> 491 <target> 492 <seqValue seqObj="scrolls" param="scrollBarTarget"/> 493 </target> 494 <WPARAM> 495 <LOWORD> 496 <constValue value="4"/> 497 </LOWORD> 498 <HIWORD> 499 <paramValue obj="scrolls" param="scrollPos"/> 500 </HIWORD> 501 </WPARAM> 502 </genMsgSeq> 503 </rule>--> 504 505 317 506 318 507 <!-- if nothing else, at least switch focus, works only partially -->
Note: See TracChangeset
for help on using the changeset viewer.