.\" This is a wxWidgets manpage page generated from the XML docs .TH wxMDIChildFrame 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxMDIChildFrame \- MDI child frame .SH DESCRIPTION An MDI child frame is a frame that can only exist on a wxMDIClientWindow , which is itself a child of wxMDIParentFrame . .SH REMARKS Although internally an MDI child frame is a child of the MDI client window, in wxWidgets you create it as a child of wxMDIParentFrame . You can usually forget that the client window exists. MDI child frames are clipped to the area of the MDI client window, and may be iconized on the client window. You can associate a menubar with a child frame as usual, although an MDI child doesn't display its menubar under its own title bar. The MDI parent frame's menubar will be changed to reflect the currently active child frame. If there are currently no children, the parent frame's own menubar will be displayed. .SH "PARENTS" wxFrame wxWindow wxEvtHandler wxObject .SH "INCLUDE FILES" wx/mdi.h .SH MEMBERS .SS wxMDIChildFrame () Default constructor. .SS wxMDIChildFrame (wxMDIParentFrame* parentwxWindowID idconst wxString& titleconst wxPoint& pos = wxDefaultPositionconst wxSize& size = wxDefaultSizelong style = wxDEFAULT_FRAME_STYLEconst wxString& name = ``frame") Constructor, creating the window. .SS ~wxMDIChildFrame () Destructor. Destroys all child windows and menu bar if present. .SS void Activate () Activates this MDI child frame. .SS bool Create (wxWindow* parentwxWindowID idconst wxString& titleconst wxPoint& pos = wxDefaultPositionconst wxSize& size = wxDefaultSizelong style = wxDEFAULT_FRAME_STYLEconst wxString& name = ``frame") Used in two-step frame construction. See wxMDIChildFrame::wxMDIChildFrame for further details. .SS void Maximize (boolmaximize) Maximizes this MDI child frame. .SS void Restore () Restores this MDI child frame (unmaximizes). .SH "WINDOW STYLES" .SS wxCAPTION Puts a caption on the frame. .SS wxDEFAULT_FRAME_STYLE Defined as wxMINIMIZE_BOX \pipe wxMAXIMIZE_BOX \pipe wxTHICK_FRAME \pipe wxSYSTEM_MENU \pipe wxCAPTION . .SS wxICONIZE Display the frame iconized (minimized) (Windows only). .SS wxMAXIMIZE Displays the frame maximized (Windows only). .SS wxMAXIMIZE_BOX Displays a maximize box on the frame (Windows and Motif only). .SS wxMINIMIZE Identical to wxICONIZE . .SS wxMINIMIZE_BOX Displays a minimize box on the frame (Windows and Motif only). .SS wxRESIZE_BORDER wxRESIZE_BORDER .SS wxSTAY_ON_TOP Stay on top of other windows (Windows only). .SS wxSYSTEM_MENU Displays a system menu (Windows and Motif only). .SS wxTHICK_FRAME Displays a thick frame around the window (Windows and Motif only). .SH "SEE ALSO" wxFrame wxWindow wxEvtHandler wxObject wxMDIClientWindow wxMDIParentFrame , wxFrame .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.