contents up previous next

wxmdiclientwindow

an mdi client window is a child of wxmdiparentframe, and manages zero or more wxmdichildframe objects.

derived from

wxwindow
wxevthandler
wxobject

include files

<wx/mdi.h>

remarks

the client window is the area where mdi child windows exist. it doesn't have to cover the whole parent frame; other windows such as toolbars and a help window might coexist with it. there can be scrollbars on a client window, which are controlled by the parent window style.

the wxmdiclientwindow class is usually adequate without further derivation, and it is created automatically when the mdi parent frame is created. if the application needs to derive a new class, the function wxmdiparentframe::oncreateclient must be overridden in order to give an opportunity to use a different class of client window.

under windows 95, the client window will automatically have a sunken border style when the active child is not maximized, and no border style when a child is maximized.

see also

wxmdichildframe, wxmdiparentframe, wxframe

members

wxmdiclientwindow::wxmdiclientwindow
wxmdiclientwindow::~wxmdiclientwindow
wxmdiclientwindow::createclient


wxmdiclientwindow::wxmdiclientwindow

wxmdiclientwindow()

default constructor.

wxmdiclientwindow(wxmdiparentframe* parent, long style = 0)

constructor, creating the window.

parameters

parent

style

remarks

the second style of constructor is called within wxmdiparentframe::oncreateclient.

see also

wxmdiparentframe::wxmdiparentframe, wxmdiparentframe::oncreateclient


wxmdiclientwindow::~wxmdiclientwindow

~wxmdiclientwindow()

destructor.


wxmdiclientwindow::createclient

bool createclient(wxmdiparentframe* parent, long style = 0)

used in two-step frame construction. see wxmdiclientwindow::wxmdiclientwindow for further details.