CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1

    Active/Inactive menu item.

    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


  2. #2
    Join Date
    Aug 1999
    Location
    Sweden
    Posts
    41

    Re: Active/Inactive menu item.

    Check out the EnableMenuItem function.

    Reply if you need more info.

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

  3. #3
    Join Date
    Aug 1999
    Posts
    6

    Re: Active/Inactive menu item.

    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured