CWindow Class Reference

A CWindow is a top-level window with a title and a control button. More...

#include <CWindow.h>

Inheritance diagram for CWindow:
CForm CComponent

List of all members.

Public Member Functions

 CWindow (const CHAR *title)
 Constructs a new, initially invisible Frame object with the specified title.
virtual void Add (CComponent *component)
 Adds the specified child Component.
virtual void SetSize (INT16 width, INT16 height)
 Resizes this window.

Protected Member Functions

virtual void CloseAction ()

Protected Attributes

INT16 m_content_width
INT16 m_content_height

Detailed Description

A CWindow is a top-level window with a title and a control button.


Constructor & Destructor Documentation

CWindow::CWindow ( const CHAR *  title  ) 

Constructs a new, initially invisible Frame object with the specified title.

Parameters:
title - the title to be displayed in the window's border. A null value is treated as an empty string, "".

Member Function Documentation

void CWindow::Add ( CComponent component  )  [virtual]

Adds the specified child Component.

This method is overridden to conditionally forward calls to the content area.

Parameters:
component 

Reimplemented from CComponent.

void CWindow::SetSize ( INT16  width,
INT16  height 
) [virtual]

Resizes this window.

This method is overridden to resize the content area and the header.

Parameters:
width - the new width of the window
height - the new height of the window

Reimplemented from CForm.


The documentation for this class was generated from the following files:
Generated on Tue Jun 29 18:34:06 2010 for guilib by  doxygen 1.6.3