Window
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.
See also:
Examples:
References:
Windows A-F(25), WindowClose(15), Release Notes for Version 4.7(9), WindowSetExtraStyle(9), Frame(8), WindowEnable(8), WindowFindWindowByLabel(6), WindowFindWindowByName(6), WindowInheritAttributes(6), WindowShow(6), splitScreen(6), Release Notes for Version 4.685(5), WindowCenter(5), WindowDestroy(5), WindowMoveAfterInTabOrder(5), WindowSetSizer(5), TextScreen(4), WindowCenterOnParent(4), WindowFindWindowById(4), WindowFit(4), WindowFreeze(4), WindowGetScreenPosition(4), WindowMode(4), WindowReparent(4), WindowSetAutoLayout(4), WindowSetClientSize(4), WindowSetForegroundColor(4), WindowSetInitialSize(4), WindowSetScrollbar(4), WindowSetWindowStyle(4), WindowUpdate(4), fullScreen(4), setTextColor(4), BoxSizerAdd(3), Graph(3), Release Notes for Version 4.672(3), WindowDisable(3), WindowGetBestSize(3), WindowGetForegroundColor(3), WindowGetGrandParent(3), WindowGetHelpText(3), WindowGetId(3), WindowGetName(3), WindowGetParent(3), WindowGetPosition(3), WindowGetVirtualSize(3), WindowHasTransparentBackground(3), WindowIsDoubleBuffered(3), WindowIsShownOnScreen(3), WindowIsTopLevel(3), WindowLayout(3), WindowLower(3), WindowRaise(3), WindowRefresh(3), WindowSetBackgroundColor(3), WindowSetFontName(3), WindowSetFontSize(3), WindowSetFontStyle(3), WindowSetFontWeight(3), WindowSetHelpText(3), WindowSetLabel(3), WindowSetMinSize(3), WindowSetName(3), WindowSetOwnBackgroundColor(3), WindowSetOwnFontName(3), WindowSetOwnFontSize(3), WindowSetOwnFontStyle(3), WindowSetOwnFontWeight(3), WindowSetOwnForegroundColor(3), wrap(3), Commandline option -nogui(2), DestroyChildren(2), Fence(2), Graphics(2), Label(2), Multithreading(2), TextControl(2), TextMousePos(2), TextMouseX(2), TextMouseY(2), WindowClearBackground(2), WindowClientToScreen(2), WindowFindFocus(2), WindowFitInside(2), WindowGetBackgroundColor(2), WindowGetBackgroundStyle(2), WindowGetCapture(2), WindowGetCaret(2), WindowGetCharHeight(2), WindowGetCharWidth(2), WindowGetChildren(2), WindowGetClientSize(2), WindowGetCursor(2), WindowGetExtraStyle(2), WindowGetHandle(2), WindowGetLabel(2), WindowGetMaxSize(2), WindowGetMinSize(2), WindowGetRect(2), WindowGetScreenRect(2), WindowGetSize(2), WindowGetTextExtent(2), WindowGetWindowBorderSize(2), WindowGetWindowStyle(2), WindowHasCapture(2), WindowHasMultiplePages(2), WindowHasScrollbar(2), WindowIsEnabled(2), WindowIsExposed(2), WindowIsFrozen(2), WindowIsRetained(2), WindowIsShown(2), WindowMakeModal(2), WindowMoveBeforeInTabOrder(2), WindowPageDown(2), WindowPageUp(2), WindowRegisterHotKey(2), WindowScreenToClient(2), WindowScrollLines(2), WindowScrollPages(2), WindowScrollWindow(2), WindowSetBackgroundStyle(2), WindowSetCaret(2), WindowSetFocus(2), WindowSetId(2), WindowSetMaxSize(2), WindowSetSize(2), WindowSetSizerAndFit(2), WindowSetThemeEnabled(2), WindowSetToolTip(2), WindowSetVirtualSizeHints(2), WindowThaw(2), clearScreen(2), helpsearch(2), loadPicture(2), savePicture(2), savePostScript(2), scrollCalibrate(2), setCallsSplitter(2), setPlayOnSwap(2), BitPasteFast, BoxSizers, ChoiceBox, ComboBox, Custom Event Handlers, FloatControl, FloatControls, FrameFullScreen, FrameSetClientSize, Gauge, Gauges, GraphOnLeftDClick, GraphOnLeftDown, GraphOnLeftUp, GraphOnMiddleDClick, GraphOnMiddleDown, GraphOnMiddleUp, GraphOnMotion, GraphOnRightDClick, GraphOnRightDown, GraphOnRightUp, Graphs, IntControl, IntControls, KeyboardValue, ListBox, ListControl, MessageBox, MousePos, OnMouseLeftDClick, OnMouseLeftDown, OnMouseLeftUp, OnMouseMiddleDClick, OnMouseMiddleDown, OnMouseMiddleUp, OnMouseMotion, OnMouseRightDClick, OnMouseRightDown, OnMouseRightUp, Slider, Sliders, StaticText, TextControls, ToggleButton, Window Control, WindowHasFlag, WindowHide, WindowInitDialog, WindowInvalidateBestSize, WindowLineDown, WindowLineUp, WindowMove, WindowNavigate, WindowOnChar, WindowOnClose, WindowOnEnterWindow, WindowOnErase, WindowOnKeyDown, WindowOnKeyUp, WindowOnKillFocus, WindowOnLeaveWindow, WindowOnLeftDClick, WindowOnLeftDown, WindowOnLeftUp, WindowOnMiddleDClick, WindowOnMiddleDown, WindowOnMiddleUp, WindowOnMotion, WindowOnMouse, WindowOnMouseWheel, WindowOnMove, WindowOnPaint, WindowOnRightDClick, WindowOnRightDown, WindowOnRightUp, WindowOnSetFocus, WindowOnSize, WindowReleaseMouse, WindowSetScrollPos, WindowSetVirtualSize, WindowToggleWindowStyle, WindowUnregisterHotKey, allFullScreen, clean, fill, getMultipleChoices, getNumberFromUser, getPasswordFromUser, getSingleChoice, getSingleChoiceIndex, getTextFromUser, hideLogoConsolew, hideLogoMainFrame, loadPictureText, recreateGUI, savePictureText, scroll, setTextFont, setTextSize, setUpdateGraph, setVarsSplitter, showLogoConsolew, showLogoMainFrame, singleBuffer, updateCalls, updateVars