Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_MDIMainWindowManager Class Reference
[UI]

A class for Windows only that handles the MDI (Multiple Document Inferface) main frame window. More...

List of all members.

Public Member Functions

void CreateMDIClientWindow (OSWindow inMDIFrameWindow)
Constructor / Destructor
 CP_MDIMainWindowManager (const CP_String &inTitle)
 Constructor.
virtual ~CP_MDIMainWindowManager () throw ()
 Destructor.
Getters
CP_WindowGetMDIClientWindow ()
CP_WindowGetMDIFrameWindow ()
Setters
void SetMenuBar (CP_MenuBar *inMenuBar)

Static Public Member Functions

Instance
static CP_MDIMainWindowManagerInstance ()

Protected Attributes

CP_WindowfsMDIClientWin
CP_WindowfsMDIFrameWin

Static Protected Attributes

static CP_MDIMainWindowManagerfsInstance = NULL

Private Member Functions

Registration
void RegisterMDIChildWindowClass ()


Detailed Description


Constructor & Destructor Documentation

CP_MDIMainWindowManager::CP_MDIMainWindowManager const CP_String inTitle  ) 
 

Constructor.

Parameters:
inTitle Title to be displayed in windows title bar.
Exceptions:
none 

CP_MDIMainWindowManager::~CP_MDIMainWindowManager  )  throw () [virtual]
 

Destructor.

Exceptions:
none 


Member Function Documentation

CP_MDIMainWindowManager * CP_MDIMainWindowManager::Instance  )  [static]
 

Returns the single instance of this class.

Exceptions:
none 
Returns:
CP_MDIMainWindowManager * Returns the single instance of this class.

void CP_MDIMainWindowManager::CreateMDIClientWindow OSWindow  inMDIFrameWindow  ) 
 

CP_Window* CP_MDIMainWindowManager::GetMDIClientWindow  ) 
 

CP_Window* CP_MDIMainWindowManager::GetMDIFrameWindow  ) 
 

void CP_MDIMainWindowManager::SetMenuBar CP_MenuBar inMenuBar  ) 
 

Sets the menu bar shown in the MDI frame window. This is called from the CP_MenuBar class when you create the initial menu bar.

Parameters:
inMenuBar Menu bar object to associate with this window.
Exceptions:
CP_paramErr Throws a CP_paramErr if the passed in menu bar is NULL.
Returns:
void

void CP_MDIMainWindowManager::RegisterMDIChildWindowClass  )  [private]
 

Registers the MDI child window class with Windows. This is the class we use to create the child windows that go into the main MDFI frame area.

Exceptions:
none 
Returns:
void


Member Data Documentation

CPLAT_Begin_Namespace_CPLAT CP_MDIMainWindowManager * CP_MDIMainWindowManager::fsInstance = NULL [static, protected]
 

CP_Window* CP_MDIMainWindowManager::fsMDIClientWin [protected]
 

The single instance of this class.

CP_Window* CP_MDIMainWindowManager::fsMDIFrameWin [protected]
 

Windows client window.


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:01:52 2005 for CPLAT by  doxygen 1.4.0