wxmdichildframean mdi child frame is a frame that can only exist on a wxmdiclientwindow, which is itself a child of wxmdiparentframe. derived from
wxframe include files <wx/mdi.h> window styles
see also window styles overview. 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. see also wxmdiclientwindow, wxmdiparentframe, wxframe members
wxmdichildframe::wxmdichildframe
wxmdichildframe::wxmdichildframewxmdichildframe() default constructor. wxmdichildframe(wxmdiparentframe* parent, wxwindowid id, const wxstring& title, const wxpoint& pos = wxdefaultposition, const wxsize& size = wxdefaultsize, long style = wxdefault_frame_style, const wxstring& name = "frame") constructor, creating the window. parameters parent
id
title
pos
size
style
name
remarks none. see also
wxmdichildframe::~wxmdichildframe~wxmdichildframe() destructor. destroys all child windows and menu bar if present.
wxmdichildframe::activatevoid activate() activates this mdi child frame. see also wxmdichildframe::maximize, wxmdichildframe::restore
wxmdichildframe::createbool create(wxwindow* parent, wxwindowid id, const wxstring& title, const wxpoint& pos = wxdefaultposition, const wxsize& size = wxdefaultsize, long style = wxdefault_frame_style, const wxstring& name = "frame") used in two-step frame construction. see wxmdichildframe::wxmdichildframe for further details.
wxmdichildframe::maximizevoid maximize(boolmaximize) maximizes this mdi child frame. see also wxmdichildframe::activate, wxmdichildframe::restore
wxmdichildframe::restorevoid restore() restores this mdi child frame (unmaximizes). see also wxmdichildframe::activate, wxmdichildframe::maximize
|