Public Member Functions | |
Constructor / Destructor | |
CP_HelloWorld_Application () | |
Constructor. | |
virtual | ~CP_HelloWorld_Application () throw () |
Destructor. | |
Protected Member Functions | |
AboutBox | |
virtual CPLAT::CP_String | GetAboutBoxDescription () const |
Commands | |
virtual void | HandleOpenApplication () |
virtual void | HandleNewUpdateCommandStatusCommand (CPLAT::CP_CommandStatus &inOutCommandStatus, bool &, CPLAT::CP_CommandNo &) |
virtual void | HandleNewCommand (CPLAT::OSStatus &inOutStatus, CPLAT::CP_CommandNo &inCommandNo) |
Protected Attributes | |
CPLAT::CP_Window * | fWindow |
Private Types | |
typedef CPLAT::CP_Application< CPLAT::CP_DocumentPolicy_None, CPLAT::CP_PrintPolicy_None, CPLAT::CP_UndoPolicy_None > | inherited |
|
|
|
Constructor.
|
|
Destructor.
|
|
Return the string that describes the purpose of the application in the AboutBox.
|
|
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 view, CP_HelloWorld_View that displays our single line of text.
|
|
Handles the menu/command update status handler for the CP_CMD_New command. We always enable the command, so many windows can be created if desired.
|
|
Override the New command handler to create new windows. Since this application is using a NULL document policy, we don't normally have the New menu item enabled.
|
|
|