Print Page | Close Window

MDI Menus...confused

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23104
Printed Date: 23 December 2024 at 9:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MDI Menus...confused
Posted By: guiuser1
Subject: MDI Menus...confused
Date 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?




Replies:
Posted By: guiuser1
Date 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?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net