|
-
April 24th, 1999, 01:19 AM
#1
SDI and Splitters
I have just started a project which uses the SDI interface and a 2 pane splitter. I replaced the CChildView class created by the wizard with a CSplitterView derived object and everything seems to work fine. However, I would like some opinions on if I will run into problems with the method I chose to do this:
The splitter view is created in CMainFrame::OnCreate(). I create my own CCreateStruct with all members initialized to NULL except m_pCurrentFrame which is set to 'this'. This is normally created in OnCreateClient(). Any possible problems?
CMainFrame::OnCmdMsg() calls the OnCmdMsg() method in the splitter object.
OnCreateClient() is not overridden (as it normally is in splitter based apps).
Opinions?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|