guiButtonClickEvent (Function) |
Top Previous Next |
This function retrieves a button click event from the event queue, which is triggered when the user presses and then releases a button. This function must be called to clear event 1 from guiWaitEvent.
Input: None.
Output: button : SYSHANDLE The handle to the button.
long_press : BOOL True if the button was kept pressed for a while, false if it was released sooner.
Returns: INT
Declaration: FUNCTION guiButtonClickEvent : INT;
Example: ... |