Vaca::MdiChild Class Reference

#include <Mdi.h>

Inheritance diagram for Vaca::MdiChild:

Vaca::Register< T > Vaca::Frame Vaca::Register< T > Vaca::Widget Vaca::Component Vaca::Referenceable Vaca::NonCopyable

List of all members.


Detailed Description

Controls a child window for a MdiClient.

Represent a Frame inside a MdiClient.

Public Member Functions

 MdiChild (const String &title, MdiClient *parent, Style style=MdiChildStyle)
 Creates a new MDI child window.
 MdiChild (const String &title, MdiFrame *parent, Style style=MdiChildStyle)
 Creates a new MDI child window.
virtual ~MdiChild ()

Protected Member Functions

virtual bool wndProc (UINT message, WPARAM wParam, LPARAM lParam, LRESULT &lResult)
 Intercepts the WM_MDIACTIVATE message to generate the Frame::onActivate and Frame::onDeactivate events.

Private Member Functions

void initialize ()


Constructor & Destructor Documentation

MdiChild::MdiChild ( const String title,
MdiClient parent,
Style  style = MdiChildStyle 
)

Creates a new MDI child window.

Warning:
All MdiChilds are created visible and activated (and this can't be changed, see TN005: MdiChild limitations when construct it (Win32) for more information).

MdiChild::MdiChild ( const String title,
MdiFrame parent,
Style  style = MdiChildStyle 
)

Creates a new MDI child window.

Warning:
All MdiChilds are created visible and activated (and this can't be changed, see TN005: MdiChild limitations when construct it (Win32) for more information).

MdiChild::~MdiChild (  )  [virtual]


Member Function Documentation

void MdiChild::initialize (  )  [private]

bool MdiChild::wndProc ( UINT  message,
WPARAM  wParam,
LPARAM  lParam,
LRESULT &  lResult 
) [protected, virtual]

Intercepts the WM_MDIACTIVATE message to generate the Frame::onActivate and Frame::onDeactivate events.

Reimplemented from Vaca::Frame.