Access Trading System Manual For Computer Programmer's

  
Contents Index Previous Chapter Next Chapter

Important Members Of CMainFrame


To Top MESSAGE_MAP()

Function Purpose
OnFileCreateFile New
OnSaveProfileFile Save
OnLoadProfileFile Open
OnWindowCloseAllWindow CloseAll
UserMessageBarUser Message To Combo Message Bar
UserStatusBarUser Message To User Status Bar
LoadProfileUser Message To Route Load Profile
OnUserChangeUsers Change Change User
OnUserAccountsNymex OOH Credit Checking
OnUserUpdateUser Change Password
OnMarketMessageText Message To Other Users
OnMarketCommodityMarket Prices (Supervisor)
OnMarketSettlementsMarket Settlements (Supervisor)
OnMarketUserReasonUser Reasonability Out Of Hours
OnMarketSystemReasonSystem Reasonability (Supervisor)
OnMarketAccountMaintenanceMarket Account Maintenance
OnMarketAccountsMarket Accounts
OnMarketDownLoadMarket DownLoad
OnMarketPullOrdersMarket PullOrders
OnLockUpLockUp
LockUpLockUp
ON_WM_ACTIVATEAPP()Application Activation
ON_WM_QUERYENDSESSION()Close Down Of Application
OnHelpExtra Help Handler
OnUpdateTimerDrives The One Second Market Timer


To Top Constructor()

Purpose
Determines Number Of Messages Held In Message Combo Before Overtype


To Top ::GetDocument()

Purpose
Core Of Extention Modelling
First Try The Standard MFC Document/View Architecture For Pointer.
Otherwise Use The Extention Modelling.


To Top ::PreCreateWindow()

Purpose
Changes Style To cs.style &= ~(LONG)FWS_ADDTOTITLE;
This May not be too clever. See ::FileCreate()


To Top ::TimerProcedure()

Purpose
Static once per second to report market time
See First Object Handler In CPersistDoc::HandleUpdate()


To Top ::OnQueryEndSession()

Purpose
Required For Windows Compliance
Optionally Asks User Of They Wish To Exit


To Top ::OnMarketUserReason()

Purpose
Crippled For Natural Gas Should Be Fixed For Out Of Hours


To Top ::OnActivateApp()

Purpose
To Support Application Locking
See Local Members CMainframe::OnLockUp() CMainframe::LockUp()
Cross Refer To CETSApp::PreTranslateMessage()


To Top ::UserMessageBar()

Purpose
This Is The Handler For Messages To The Message Combo On The Frame


To Top ::SetLargeToolbar()

Purpose
There Is A ShortFall With All Screen Sizes.
It was not exactly easy to get the code to this standard
Any Changes Would Have To Test User Change Big Buttons To Small And Vice Versa And Changing From View : Preferences


To Top ::FileCreate()

Purpose
This function is typical of our Extention Modelling where we are pushing the MFC Document/View Architecture Envelope.
1) We determine the context view and template reflecting
the known APP Template types
and the associated menu via the ViewEngine
2) We move the View Rules to the Persistant Document.
The Child MDI (ChildFrm.cpp) is used to launch the menu.
If reading from disk the serialised members vai our base view are instantiated.
Finally the Child MDI kicks the view into action.
The view then collects its startup rules from the document.


To Top ::CreateDepthView()

Purpose
Creating A Depth View Can Only Be Achieved From The Edit Context Of A Market Composite View
The Child Frame Is Always Present Under Those Circumstances

Contents Index Previous Chapter Next Chapter To Top


Wilmott Online Technical Forum For Derivative Experts