Result = WindowEvent3D()Description
Checks if an event has occurred on any of the opened 3D windows.
WindowEvent3D() 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.
To get the window number in which the event occurred, use the EventWindow3D() function.
Possible Events are:#PB_Event3D_Gadget : a Gadget3D has been used #PB_Event3D_CloseWindow : the window close gadget has been pushed #PB_Event3D_SizeWindow : the window has been resized #PB_Event3D_MoveWindow : the window has been moved #PB_Event3D_ActivateWindow : the window has been activated (got the focus)