WindowEvent3D()

Syntax

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.

Parameters

None.

Return value

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)

See Also

EventWindow3D()

Supported OS

All

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