-
November 28th, 2011, 03:35 AM
#1
How to omit MFC menu?
How can I skip creation of the main menu when MainFrame is derived from CMDIFrameWndEx?
I tried following the same steps as with CMDIFrameWnd (http://support.microsoft.com/kb/131368). However, the overriding of CMDIFrameWndEx::LoadFrame() doesn't seem to be that simple. Just like the base method, I need to call m_Impl.OnLoadFrame(). But OnLoadFrame is a protected method in CFrameImpl, and that class is not declared as a friend to CMainFrame (this is where I do the overriding).
Last edited by TubularX; November 28th, 2011 at 03:39 AM.
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
|