You probably are using the wrong menu handle as the first parameter to the
EnableMenuItem
function.
Maybe you need to use the
GetSubMenu
function also.
Try this -
EnableMenuItem(GetSubMenu(GetMenu(hh), 0), ID_FILE_SAVE, MF_DISABLED | MF_GRAYED);
Here 0 is the position of the required sub-menu.