Hey guys, im trying to enable a menu item that is by default MFS_GRAYED, that is my shot:
But it dont change the menu item status.Code:MENUITEMINFO a; a.fMask = MIIM_STATE; GetMenuItemInfo(hMenu,ID_FILE_SAVERESULT,false,&a); a.fState = MFS_ENABLED; SetMenuItemInfo(hMenu,ID_FILE_SAVERESULT,false,&a);
What im doeing wrong?