I'm graying a few menu items from the resource editor and enabling them when some conditions are met. EnableMenuItem looks easy for this but it doesn't have any affect when I use it.
I have a dialog with a menu on it and I used the hMenu after I did a LoadMenu(), aswell as the GetMenu() and it still has no affect with enabling the menu. The menu items I want to enable are on the menu bar if that means anything. I tried disabling an already enabled one but it has no affect either.
thanks in advance
EnableMenuItem(GetMenu(g_hWnd), IDM_MODE, MF_ENABLED);