Purpose |
Check whether a GRAPHIC WINDOW has been clicked with the mouse. |
Syntax |
GRAPHIC WINDOW CLICK [hwin&] TO click&, x!, y! |
hWin& |
Handle of the GRAPHIC WINDOW to check. |
Remarks |
GRAPHIC WINDOW CLICK checks whether the specified GRAPHIC WINDOW has been clicked since the last time this statement was executed on this window. If so, the value one (1) is assigned to the click& variable, and the mouse position is assigned to x! and y!. If not, the value zero (0) is assigned to all three result variables. If the optional handle (hwin&) is omitted, the graphic window which is currently selected with GRAPHIC ATTACH is used. |
See also |