GET_INFO(MOUSE_EVENT_KEYWORD)
For an overview of the GET_INFO built-in, see the HELP topic GET_INFO.
The following string can be used for parameter2 when parameter1 is a
TPU keyword for the down click of a mouse button (M1DOWN...M5DOWN):
Parameter 2 | Return Value (Parameter 1 is M1DOWN...M5DOWN)
-------------------+------------------------------------------------+
"mouse_event_ | Integer - The number of the specified mouse
keyword" | button. For example, if you specify
| the keyword M2DOWN, the call returns
| the integer 2.
--------------------+--------------------------------------------------+
When parameter1 is a keyword describing a mouse button event, you can
use GET_INFO to determine the window where the current mouse operation
started. When you use GET_INFO to fetch this information, the valid
keywords for parameter1 are as follows:
M1UP ... M5UP
M1DOWN ... M5DOWN
M1DRAG ... M5DRAG
M1CLICK ... M5CLICK
M1CLICK2 ... M5CLICK2
M1CLICK3 ... M5CLICK3
M1CLICK4 ... M5CLICK4
M1CLICK5 ... M5CLICK5
The following string can be used for parameter2 when parameter1 is a
TPU keyword for a mouse button event:
Parameter 2 | Return Value (Parameter 1 is mouse event keyword)
-------------------+-------------------------------------------------+
"window" | Window - The window in which the down-click
| or occurred that started the current
| Integer 0 drag operation. If no drag operation
| is in progress for the specified
| mouse button, returns 0.
--------------------+--------------------------------------------------+