Print Page | Close Window

GetMenuBar()->LoadMenu() problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1629
Printed Date: 05 March 2025 at 10:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: GetMenuBar()->LoadMenu() problem
Posted By: hpesata
Subject: GetMenuBar()->LoadMenu() problem
Date Posted: 06 January 2005 at 5:13am
Hi!

I am trying to use Xtreme Toolkiit Pro with an existing VC++.NET MFC app.

I realized, that when I import the exisiting MFC-menu into XTP by using
GetCommandBars()->GetMenuBar()->LoadMenu(&mymenu ), disabled menu-entries
are not imported correctly, menu-entries which use MF_GRAYED are show enabled.

I am currently not using any ON_UPDATE_COMMAND_UI() handlers and I am using the CFrameWnd::m_bAutoMenuEnable=FALSE flag.

any help with this would be greatly appreciated, thanx in advance!

regards,
Hans




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