Connecting Tech Pros Worldwide Help | Site Map

gray a disabled menu item???

  #1  
Old July 19th, 2005, 07:47 PM
madder10
Guest
 
Posts: n/a
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
  #2  
Old July 19th, 2005, 07:47 PM
WW
Guest
 
Posts: n/a

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


  #3  
Old July 19th, 2005, 07:48 PM
Victor Bazarov
Guest
 
Posts: n/a

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


  #4  
Old July 19th, 2005, 07:48 PM
Greg Schmidt
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript not working on my PC but ok on others drwyness answers 16 August 22nd, 2008 12:04 AM
Checking to see what page is loaded from inside a master page file? Sunfire answers 6 November 5th, 2007 06:05 PM
FF & IE Problems KimberlyM answers 3 June 11th, 2007 08:20 PM