Use UPDATE_COMMAND_UI in a dialog

I have added a menu to a CDialog based app. Now I want to use the UPDATE_COMMAND_UI to enable/disable menu items. I have put the COMMAND handler in the Main dialog class, and I tried to do the same with UPDATE_COMMAND_UI. Don't work, the handler function doesn't get called. How can I enable/disable menu items?
SlaskAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Vinayak KumbarConnect With a Mentor Sr Program ManagerCommented:
Hi,

See the articals in
http://codeguru.developer.com/dialog/index.shtml
in the CommandUI section.

Or lake a look at
http://codeguru.developer.com/dialog/ccmduidialog.shtml

Hope it helps.
VinExpert
0
 
SlaskAuthor Commented:
Thanks....
0
All Courses

From novice to tech pro — start learning today.