CheckMenuItem does not work for 3100 |
Post Reply |
Author | |
qbert2004
Newbie Joined: 10 March 2004 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 23 March 2004 at 4:00pm |
Hi , Im trying to check a menu item while having Cool Menu's installed, its completely not working. This same code works for a non XT project, what gives ??
CXTMenu* mmenu = (CXTMenu*)GetMenu(); CXTMenu* submenu = (CXTMenu*)mmenu->GetSubMenu(0); UINT state = submenu->GetMenuState(ID_FILE_NEW, MF_BYCOMMAND); ASSERT(state != 0xFFFFFFFF); if (state & MF_CHECKED) submenu->CheckMenuItem(ID_FILE_NEW, MF_UNCHECKED | MF_BYCOMMAND); else submenu->CheckMenuItem(ID_FILE_NEW, MF_CHECKED | MF_BYCOMMAND); |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |