How to omit MFC menu?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 1 of 1

Thread: How to omit MFC menu?

  1. #1
    Join Date
    Aug 2006

    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 ( 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)