EnableMenuItem???
-
I tried EnableMenuItem to disable a menu. It's not working the menu always ramains enabled. Why:confused:
-
I tried EnableMenuItem to disable a menu. It's not working the menu always ramains enabled. Why:confused:
I'm assuming you're using MFC. MFC calls EnableMenuItem for you - you need to provide ON_UPDATE_COMMAND_UI handlers for menu items you want to enable/disable/check/uncheck. You don't need ON_UPDATE_COMMAND_UI handlers for menu items which stay enabled all the time. Tomasz Sowinski -- http://www.shooltz.com
** Putt knot yore thrust inn spel chequers. **
-
I tried EnableMenuItem to disable a menu. It's not working the menu always ramains enabled. Why:confused:
Look In my MFC program, I'm trying to disable a menu item with EnableMenuItem(), but it doesn't have any effect on the menu. Why? Best regards, Eugene Pustovoyt