OpenWindow()
Syntax
WindowID = OpenWindow(#Window, x, y, InnerWidth, InnerHeight, Flags, Title$)
Description
Opens a new window according to the specified parameters. The new window becomes the used window. You don't need to use the UseWindow() command to set it. If the WindowID is 0, the window can't be opened. 'InnerWidth' and 'InnerHeight' specify the requiered client area (without borders and window decorations), for Windows XP, AmigaOS and Linux skinning compatibility.
Possible flags are:#PB_Window_SystemMenu : Enable the system menu on the window title bar. #PB_Window_MinimizeGadget: Add the minimize gadget to the window title bar. #PB_Window_System is automatically added. #PB_Window_MaximizeGadget: Add the maximize gadget to the window title bar. #PB_Window_System is automatically added. #PB_Window_SizeGadget : Add the sizeable feature to a window. #PB_Window_Invisible : Create the window but don't display. Not supported on AmigaOS. #PB_Window_TitleBar : Create a window with a titlebar. #PB_Window_BorderLess : Create a window without any borders.
Supported OS
Windows, AmigaOS, Linux