WindowEvent3D()

Syntax

Event = WindowEvent3D()
Description
Check if an event has occured on any of the opened 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 pushed
  #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)

Supported OS

All

<- SetWindowTitle3D() - Window3D Index - WindowHeight3D() ->