Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

CP_Dialog_Application Class Reference

CP_Dialog_Application. More...

List of all members.

Public Member Functions

Construction
 CP_Dialog_Application ()
 Constructor.
virtual ~CP_Dialog_Application () throw ()
 Destructor.

Protected Member Functions

AboutBox
virtual CPLAT::CP_String GetAboutBoxDescription () const
Commands
virtual void HandleOpenApplication ()
Windows
void CreateBackgroundWindow (const CPLAT::CP_Point &inLocation)

Private Types

typedef CPLAT::CP_Application<
CPLAT::CP_DocumentPolicy_None,
CPLAT::CP_PrintPolicy_None,
CPLAT::CP_UndoPolicy_None > 
inherited

Private Member Functions

Slots
void HandleDismiss (CPLAT::CP_DataValueHolder &, CPLAT::OSStatus &inOutStatus)
void HandleCancel (CPLAT::CP_DataValueHolder &, CPLAT::OSStatus &inOutStatus)


Detailed Description

Application class for the CP_Dialog demo.


Member Typedef Documentation

typedef CPLAT::CP_Application<CPLAT::CP_DocumentPolicy_None, CPLAT::CP_PrintPolicy_None, CPLAT::CP_UndoPolicy_None> CP_Dialog_Application::inherited [private]
 


Constructor & Destructor Documentation

CP_Dialog_Application::CP_Dialog_Application  ) 
 

Constructor.

Exceptions:
none 

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

Destructor.

Exceptions:
none 


Member Function Documentation

CPLAT::CP_String CP_Dialog_Application::GetAboutBoxDescription  )  const [protected, virtual]
 

Return the string that describes the purpose of the application in the AboutBox.

Exceptions:
none 
Returns:
CP_String const The description, displayed in the about box.

void CP_Dialog_Application::HandleOpenApplication  )  [protected, virtual]
 

Called when the application is starting up. We take this opportunity to create our initial window and views. In this demo, we create a single dialog that has both an edit field and a static text line.

Exceptions:
none 
Returns:
void

void CP_Dialog_Application::CreateBackgroundWindow const CPLAT::CP_Point &  inLocation  )  [protected]
 

Creates a window to place behind the dialog to show dialog handling with other windows.

Parameters:
inLocation Location to display the window at.
Exceptions:
none 
Returns:
void

void CP_Dialog_Application::HandleDismiss CPLAT::CP_DataValueHolder &  ,
CPLAT::OSStatus &  inOutStatus
[private]
 

Slot called when the user clicks on the dismiss button in the dialog.

Parameters:
inValue Not used.
inOutStatus Returns the status, in this case CP_noErr to indicate that the close of the dialog can proceed.
Exceptions:
none 
Returns:
void

void CP_Dialog_Application::HandleCancel CPLAT::CP_DataValueHolder &  ,
CPLAT::OSStatus &  inOutStatus
[private]
 

Slot called when the user clicks on the cancel button in the dialog.

Parameters:
inValue Not used.
inOutStatus Returns the status, in this case CP_noErr to indicate that the close of the dialog can proceed.
Exceptions:
none 
Returns:
void


The documentation for this class was generated from the following files:
Generated on Tue Sep 20 20:22:54 2005 for CPLAT_MacOS by  doxygen 1.4.0