luming
asked on
Win API "EnableMenuItem"
I want to use "EnableMenuItem" to disable(grey) the CLOSE button on the top right corner of pkzip window. I tried "EnableMenuItem(lhMenu,6,M F_GRAYED And MF_BYPOSITION)", and nothing was disabled. In the command above, lhMenu is the menu handle,6 is position of CLOSE. Thanks for your help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.