Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - MDI Menus...confused
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI Menus...confused

 Post Reply Post Reply
Author
Message
guiuser1 View Drop Down
Groupie
Groupie
Avatar

Joined: 17 November 2015
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote guiuser1 Quote  Post ReplyReply Direct Link To This Post Topic: MDI Menus...confused
    Posted: 19 August 2016 at 6:58pm
So porting a MDI app that auto-loads 2 different menus is well, automatic. How can I get this done in XTP.

The  m_pDMDocTemplate = new CMultiDocTemplate(..) specifies which menu ID to load when a specific doc type is loaded.  How does this work in XTP?

XTP loads IDR_MAINFRAME just fine.  I am however unable to see how it auto-loads the ID specified in CMultiDocTemplate()...

Am I missing something?

Back to Top
guiuser1 View Drop Down
Groupie
Groupie
Avatar

Joined: 17 November 2015
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote guiuser1 Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2016 at 11:56am
Rewording the problem...

Since we didn't have to worry about this before...how can we force the proper menu to be loaded in an MDI app when the doc is loaded?

If we need to override something, we can't find what it is easily...any suggestions?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.