Link to home
Start Free TrialLog in
Avatar of luming
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,MF_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
Avatar of purushotham
purushotham

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial