Link to home
Start Free TrialLog in
Avatar of michaelzhang
michaelzhang

asked on

Menu Item does not check

I am writing a dialog based app with a menu bar. There are some menu items that I would like them to be checked when they are selected. I used the message handler: UPDATE_COMMAND_UI with the code: "pCmdUI->SetCheck(1);". I put a message box inside this message handler, but the message box does not appear after I click the menu item. Any idea why and how to fix it?
  Thanks for the help.

ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial