Enabled\Grayed property of Menu Items on the CommenadBar

3 views
Skip to first unread message

deepti panjwani

unread,
Dec 4, 2009, 2:06:23 AM12/4/09
to visual-...@googlegroups.com
Hi All,

If I try to disable any of the Menu Item from the command bar, all the menu items get disable. The disabling of the Menu Item I do by setting the Menu Item property Enable as FALSE.
Also, On the other way, if I try to Gray out any of the Item, it does not works.
I actually want to gray out some Menu Item at the first time and then based on some operation, I want to activate that Menu Item at run time.

Could anybody tell me how to do that.

Thanks

Joe

unread,
Dec 4, 2009, 8:45:08 AM12/4/09
to Visual C++ Lovers
Are you correctly using the ID in ON_UPDATE_COMMAND_UI(ID, method
name) ?

Josh
Reply all
Reply to author
Forward
0 new messages