Help Contents / GUI programming / Windows A-F / Window

Window parent id pos size style
(Window parent id pos size style name)

Constructs a window, which can be a child of a frame,  dialog or any other non-control window. 

Parameters 

parent: parent window. 

id: Window identifier.  If wxID_ANY, will automatically create an identifier. 

pos: Window position.  wxDefaultPosition indicates  that wxWidgets should generate a default position for the window.  If using the wxWindow class directly, supply an actual position. 

size: Window size. wxDefaultSize indicates  that wxWidgets should generate a default size for the window.  If no suitable size can be found,  the window will be sized to 20x20 pixels  so that the window is visible but obviously not correctly sized.  

style: Window style. For generic window styles, please see wxWindow. 

name: Window name. 


next: WindowCenter
