MDI help
-
In a MDI application that will have several Forms/Dialogs. Where is the best place to initialize my main class that will act as my main loop / finite state for the whole application. There are 4 dialog / forms that used to controls and change setting within object within the main loop class / finite state machine.
Scott Dolan Jernie Corporation Engineering & Manufacturing Software, Hardware, & Enclosures
-
In a MDI application that will have several Forms/Dialogs. Where is the best place to initialize my main class that will act as my main loop / finite state for the whole application. There are 4 dialog / forms that used to controls and change setting within object within the main loop class / finite state machine.
Scott Dolan Jernie Corporation Engineering & Manufacturing Software, Hardware, & Enclosures
You could do it the MFC way and have a single application class instance. Initialization is in the constructor, before WinMain is called. Additional calls on the object could be made in WinMain. Mark
"Great job, team. Head back to base for debriefing and cocktails." (Spottswoode "Team America")