Click to See Complete Forum and Search --> : Active/Inactive menu item.


peter grau
August 12th, 1999, 06:25 AM
Hello!
How do I make a menu item Inactive, at program startup...?
...and how do I activate it again later, during execution?
Does someone know?
Thanks in advance.../Peter

Fredrik Thunberg
August 12th, 1999, 07:12 AM
Check out the EnableMenuItem function.

Reply if you need more info.

------------- "Remember: It's a feature, not a bug..." ---------------

Uli Hecker
August 12th, 1999, 07:16 AM
Check out the description for the ON_UPDATE_COMAND_UI message; this message allows automatic enable/disable of menu items AND
their corresponding toolbar buttons...

Uli