adding checkbox to submenu item
-
I want show some options as checkbox in menu. this menu could be called by right clicking the dialog. If user select some menu item according to that i will make some operation. how could i add checkbox to submenu item
If you go through MENUITEMINFO structure (which is used in InsertMenuItem() function) you can find fMask member which supports MIIM_CHECKMARKS value.
-
I want show some options as checkbox in menu. this menu could be called by right clicking the dialog. If user select some menu item according to that i will make some operation. how could i add checkbox to submenu item
CMenu::GetSubMenu[^] and CMenu::CheckMenuItem[^] might help you with that...
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <