Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Disable the Customize command
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disable the Customize command

 Post Reply Post Reply
Author
Message
yoavo View Drop Down
Senior Member
Senior Member


Joined: 29 February 2004
Location: Israel
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoavo Quote  Post ReplyReply Direct Link To This Post Topic: Disable the Customize command
    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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.