Print Page | Close Window

MFC Dialog Based Menus Broken

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=13088
Printed Date: 23 June 2025 at 8:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: MFC Dialog Based Menus Broken
Posted By: kent_t
Subject: MFC Dialog Based Menus Broken
Date Posted: 06 January 2009 at 2:05pm
OS: XP, Lang: C++, ToolKit: 12.1.1 (Just upgraded)

MFC Dialog Based Menus Broken

Observe below, we have a Main menu displayed at top and a MFC Dialog with a menu as well. All *looks* okay right now.



Now we try to access the menus. When I click on the dialog menu items NOTHING happens, they are dead. But if I click on the dialog icon, I get this:



Notice the menu is dropping out of the WRONG place. It's above the menu bar. As I move the mouse across that area, suddenly menu items are painted and appear. We now have a duplicate menu, that's a Bad Thing.



Again, the menus are duplicated - the bottom one is dead, and the top one works, but is wrong.



So we end up with this... I can't ship a product with this.



We upgraded (paid more money), specifically to get the fix to this bug. I need this fixed so we can ship our product.

Please respond to this post with an ETA for this fix.

Thank you.







Replies:
Posted By: Oleg
Date Posted: 07 January 2009 at 1:36pm
Hello,
 
If you have line
 
XTPSkinManager()->SetApplyOptions(..); check that you added xtpSkinApplyMenus apply option. Or just remove this line - all apply options enabled by default.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: kent_t
Date Posted: 07 January 2009 at 2:03pm
That solution worked. We now have menu's in our dialogs that work correctly.

THANK YOU. You now have a much happier customer. I do appreciate it.

I was going to put [Solved] in the topic title, but I can't see how.

Thanks again.

-Kent



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