Connecting Tech Pros Worldwide Forums | Help | Site Map

gray a disabled menu item???

madder10
Guest
 
Posts: n/a
#1: Jul 19 '05
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=ena...sbbsa05&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

WW
Guest
 
Posts: n/a
#2: Jul 19 '05

re: gray a disabled menu item???


madder10 wrote:[color=blue]
> 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!):[/color]

http://www.slack.net/~shiva/welcome.txt

--
WW aka Attila


Victor Bazarov
Guest
 
Posts: n/a
#3: Jul 19 '05

re: gray a disabled menu item???


"madder10" <madder10@libero.it> wrote...[color=blue]
> 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. [...][/color]

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

Victor


Greg Schmidt
Guest
 
Posts: n/a
#4: Jul 19 '05

re: gray a disabled menu item???


On 5 Oct 2003 05:57:26 -0700, madder10@libero.it (madder10) wrote:
[color=blue]
>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=ena...sbbsa05&rnum=1[/color]

The thread you quote was posted to microsoft.public.vc.language. Why
would you post this question here instead of a group that has already
proven that it can answer such queries?

--
Greg Schmidt (gregs@trawna.com)
Trawna Publications (http://www.trawna.com/)
Closed Thread