Connecting Tech Pros Worldwide Help | Site Map

gray a disabled menu item???

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 19th, 2005, 06:47 PM
madder10
Guest
 
Posts: n/a
Default gray a disabled menu item???

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, 06:47 PM
WW
Guest
 
Posts: n/a
Default 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, 06:48 PM
Victor Bazarov
Guest
 
Posts: n/a
Default 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, 06:48 PM
Greg Schmidt
Guest
 
Posts: n/a
Default 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/)
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.