gray a disabled menu item???

M

madder10

Hi gurus,
I have managed to have a menu item initially disabled and then enable
at run time in my MFC application in Visual C++ 6 as explained in this
thread (thanks!):
http://groups.google.it/groups?q=en...=UTF-8&selm=#19$Mug$$GA.88@cppssbbsa05&rnum=1

But I would also like the initially disabled menu item to be grayed.
I tried setting the grayed box in the properties of the menu item, but
that way the menu item won't be enabled at run time.

I'm sure there is a very simple way to do it, butI have no idea.
Does anybody know how?

Thank you very much,
Ste
 
V

Victor Bazarov

madder10 said:
I have managed to have a menu item initially disabled and then enable
at run time in my MFC application [...]

But I would also like the initially disabled menu item to be grayed. [...]

You're in a wrong newsgroup. Try microsoft.public.vc.mfc.

Victor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top