November 28th, 2011, 02:35 AM
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 02:39 AM.
Click Here to Expand Forum to Full Width