Result = OpenWindow3D(#Window3D, x, y, InnerWidth, InnerHeight, Title$ [, Flags])
Opens a new window on the current screen according to the specified parameters. The new window becomes the active window, it's not needed to use SetActiveWindow3D() (unless the window is created as invisible). All possible events in a window are handled with WindowEvent3D().


#Window3D A number to identify the new 3D window. #PB_Any can be used to auto-generate this number.
x, y The initial position of the 3D window in the screen (unless one of the center flags is used).
InnerWidth, InnerHeight The initial size of the client area of 3D window (without borders and window decorations).
Flags (optional) It can be a combination of the following values:
  #PB_Window3D_SizeGadget : Adds the sizeable feature to a window.
  #PB_Window3D_Invisible  : Creates the window but don't display it.
  #PB_Window3D_BorderLess : Creates a window without any borders.

Return value

Nonzero if the 3D window has been successfully opened, zero otherwise.

See Also

CloseWindow3D(), WindowEvent3D()

Supported OS


<- IsWindow3D() - Window3D Index - ResizeWindow3D() ->