ScreenWindowEvent()
Syntax
Result = ScreenWindowEvent()Description
Checks if an event has occurred on any of the opened windows. InputEvent() needs to be used to send events to the GUI system to be able to have window events.
ScreenWindowEvent() returns the next event from the event queue and returns zero when there are no more events. It doesn't wait for the next event - it always returns immediately.
Parameters
None.
Return value
Possible Events are:#PB_Event_Gadget : a ScreenGadget has been used #PB_Event_CloseWindow : the window close gadget has been pushed #PB_Event_SizeWindow : the window has been resized #PB_Event_MoveWindow : the window has been moved #PB_Event_ActivateWindow : the window has been activated (got the focus)
See Also
InputEvent()
Supported OS
All