I have a quick question concerning Menus. I have a small app that uses pull-down menus, and I ned to be able to "turn off" or grey out the menu items that I dont want a user to have. I am trying to use the function:
EnableMenuItem(HMENU hMenu, UINT uIDEnableItem, UINT uEnable);
The problem is i dont know how to get the Handle of hMenu. I have tried just giving it the resource number, but that didnt work. What am I doing wrong??
- Brice