Access Trading System Manual For Computer Programmer's

  
Contents Index Previous Chapter Next Chapter

Important Members Of CETSApp


To Top MESSAGE_MAP()

Function Purpose
show_tip_of_the_daySome Hint Text For The Application
OnAppAboutVersion Of Application
OnViewPreferencesApplication Scope Of User Choice Options
OnAppExitLeaving The Application


To Top Constuctor()

Purpose
Sets The One Instance Mutex To NULL
Sets The Extention Modelling Persistant Document To NULL
Does Not Set The Main Template View To NULL
Sets All Other View Templates NULL


To Top ::InitInstance()

Purpose
Checks For A Prior Instance Of The Application
Loads The Persistant Document And View Templates On The Heap
Invokes The CPersistDoc::LoadUser To Verify Start Up


To Top ::ExitInstance()

Purpose
Cleans Up The And View Templates Heap Allocation


To Top CDocument* CETSApp::OpenDocumentFile()

Purpose
This MFC virtual must be overridden to stop MFC Opening Default Template
Requirement Of Extention Modelling


To Top ::create_document_templates()

Purpose
Location Of Creating CPersistDoc On The Heap
Initalises Objective Grid
Must Be An Early Call in ::InitInstance()


To Top ::initial_registry()

Purpose
All The Defaults Are Written To The Registry First If They Do Not Exist
User Preferences are actually read and written to individual preference files
If You Add To View : Preferences You Should Define The Item Here First

See also ::LoadUser()

To Top ::initialise_for_user()

Purpose
Drives The Time Zone Setting


To Top ::check_profile_count()

Purpose
Since Extention Modelling overrides the MFC Default Template Load and OpenDocumentFile
The Most Recently USed Registry Entries Have To Be Kick Started


To Top ::PreTranslateMessage()

Purpose
If The User Has Locked The Application in Main Frame
We Have To Gobble The Mouse Messages
Nobody Is Really Sure Why But This Stops The Views Crashing

Contents Index Previous Chapter Next Chapter To Top


Wilmott Online Technical Forum For Derivative Experts