I'm making a program in Visual C++ 6.0.
I have a menu with the ID ID_MENU.
I have some menu items that i would like to check and uncheck but the function CheckMenuItem doesn't make that change, Why?
I do like this:
CheckMenuItem(ID_MENU, ID_OPTION1, MF_CHECK);
This line of code is associated with a key event.
ID do Menu: ID_MENU
ID do item to check or uncheck: ID_OPTION1
option: MF_CHECK or MF_UNCHECK or ...
can someone help me?