Print Page | Close Window

Disable the Customize command

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=1746
Printed Date: 02 October 2024 at 6:34pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Disable the Customize command
Posted By: yoavo
Subject: Disable the Customize command
Date Posted: 03 February 2005 at 10:20am

Hi,

In my application I need to decide in run-time whether to show/disable the Customize command or not.

I tried to add to the message map the entry:

ON_UPDATE_COMMAD_UI(XTP_IDCUSTOMIZE, OnUpdateCmdCustomize)

and tried to disable the customize command in OnUpdateCmdCustomize, but it did not work.

How do I disable or remove the Customize command on run-time ??

Yoav.




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