Programming User Interaction > Programming Actions > Recognized Messages |
The following messages are recognized:
WM_LBUTTONDBLCLK |
double-click left mouse button |
WM_MBUTTONDBLCLK |
double-click both mouse buttons |
WM_RBUTTONDBLCLK |
double-click right mouse button |
WM_LBUTTONDOWN |
press left mouse button |
WM_MBUTTONDOWN |
press both mouse buttons |
WM_RBUTTONDOWN |
press right mouse button |
WM_LBUTTONUP |
release left mouse button |
WM_MBUTTONUP |
release both mouse buttons |
WM_RBUTTONUP |
release right mouse button |
WM_MOUSEMOVE |
move mouse |
WM_KEYDOWN |
press key |
WM_KEYUP |
release key |
If you have a three-button mouse, holding down the middle mouse button is equivalent to simultaneously holding down the left and right mouse buttons.
Note:
The constants are defined by Windows and are available through the Visual Studio tool, API Text Viewer.
The file oc_api.bas in either the Actions demo contains Visual Basic definitions for each of these constants.