wxMDIChildFrame Class Reference
[Managed Windows]

#include <wx/mdi.h>

Inheritance diagram for wxMDIChildFrame:

wxFrame wxTopLevelWindow wxWindow wxEvtHandler wxObject wxDocMDIChildFrame

List of all members.


Detailed Description

{mdi.h}

An MDI child frame is a frame that can only exist on a wxMDIClientWindow, which is itself a child of wxMDIParentFrame.

Styles:

Library:  wxCore

Category:  Managed Windows

See also:
wxMDIClientWindow, wxMDIParentFrame, wxFrame

Public Member Functions

 wxMDIChildFrame ()
 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")
virtual ~wxMDIChildFrame ()
virtual void Activate ()
bool 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")
void Maximize (bool maximize)
virtual void Restore ()

Constructor & Destructor Documentation

wxMDIChildFrame::wxMDIChildFrame (  ) 

Default constructor.

wxMDIChildFrame::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 The window parent. This should not be NULL.
id The window identifier. It may take a value of -1 to indicate a default value.
title The caption to be displayed on the frame's title bar.
pos The window position. The value wxDefaultPosition indicates a default position, chosen by either the windowing system or wxWidgets, depending on platform.
size The window size. The value wxDefaultSize indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform.
style The window style. See wxMDIChildFrame.
name The name of the window. This parameter is used to associate a name with the item, allowing the application user to set Motif resource values for individual windows.
See also:
Create()

virtual wxMDIChildFrame::~wxMDIChildFrame (  )  [virtual]

Destructor. Destroys all child windows and menu bar if present.


Member Function Documentation

virtual void wxMDIChildFrame::Activate (  )  [virtual]

Activates this MDI child frame.

See also:
Maximize(), Restore()

bool wxMDIChildFrame::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() for further details.

Reimplemented from wxFrame.

void wxMDIChildFrame::Maximize ( bool  maximize  ) 

Maximizes this MDI child frame.

See also:
Activate(), Restore()

Reimplemented from wxTopLevelWindow.

virtual void wxMDIChildFrame::Restore (  )  [virtual]

Restores this MDI child frame (unmaximizes).



wxWidgets logo

[ top ]