A 3D Dynamic Geometry Software

Calques 3D C++



CCalques3DApp Class Reference

Inheritance diagram for CCalques3DApp:

Inheritance graph
Collaboration diagram for CCalques3DApp:

Collaboration graph

List of all members.


Detailed Description

Main class for the Calques 3D application.

Public Member Functions

 CCalques3DApp ()
 Default construction Initialise BCG's Resource Smart Update.
virtual void OnClosingMainFrame (CBCGPFrameImpl *pFrameImpl)
 Called when the main frame of the application is closed.
virtual void PreLoadState ()
 Called when Calques 3D current state is loaded from the registry.
virtual void LoadCustomState ()
 Load Calques 3D specific preferences See TPref for the definition of these preferences.
virtual void SaveCustomState ()
 Save Calques 3D specific preferences See TPref for the definition of these preferences.
virtual BOOL InitInstance ()
 CCalques3DApp initialization.
virtual int ExitInstance ()
 CCalques3DApp exit cleanup.
afx_msg void OnAppAbout ()
 Called to initialize and launch the "About" dialog.
afx_msg void OnFileNew ()
 Create a new empty document.
afx_msg void OnFileOpen ()
 Open an existing document.

Private Attributes

HINSTANCE m_hinstC3DRes
 Handle for Calques3D resources (NOT YET USED).
HINSTANCE m_hinstBCGCBRes
 Handle for BCGContrlBar resources (for i18n purpose).

Constructor & Destructor Documentation

CCalques3DApp (  ) 

Default construction Initialise BCG's Resource Smart Update.


Member Function Documentation

void OnClosingMainFrame ( CBCGPFrameImpl *  pFrame  )  [virtual]

Called when the main frame of the application is closed.

Save the current state of the application into the registry

void PreLoadState (  )  [virtual]

Called when Calques 3D current state is loaded from the registry.

Initialise the various managers with the relevant information.

void LoadCustomState (  )  [virtual]

Load Calques 3D specific preferences See TPref for the definition of these preferences.

void SaveCustomState (  )  [virtual]

Save Calques 3D specific preferences See TPref for the definition of these preferences.

BOOL InitInstance (  )  [virtual]

CCalques3DApp initialization.

int ExitInstance (  )  [virtual]

CCalques3DApp exit cleanup.

void OnAppAbout (  ) 

Called to initialize and launch the "About" dialog.

Calles to initialised and launch the "About" dialogue.

See CAboutInfoPage, CAboutCreditPage and CAboutCalquePage

void OnFileNew (  ) 

Create a new empty document.

void OnFileOpen (  ) 

Open an existing document.


Member Data Documentation

HINSTANCE m_hinstC3DRes [private]

Handle for Calques3D resources (NOT YET USED).

HINSTANCE m_hinstBCGCBRes [private]

Handle for BCGContrlBar resources (for i18n purpose).