Print Page | Close Window

Remove single menuitems

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=1631
Printed Date: 23 April 2024 at 2:52am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Remove single menuitems
Posted By: Armin Fryder
Subject: Remove single menuitems
Date Posted: 06 January 2005 at 8:17am

Hey everyone,

in the context of intelligent menues, there is the possibility to use the CXTPCommandBars::HideCommand method. I would actually like to remove single commands from a menu. In old-style MFC, it would mean a call of CMenu::DeleteMenu(UNIT nID, MF_BYCOMMAND). But in here, I donīt see an option to remove a menucommand dynamically...

Thanks in advance,

Armin




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