Thread: Showing & hiding menu items

  1. #1
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Kurunegala Colony, Sri Lanka, Sri Lanka

    Showing & hiding menu items

    I've got a systray menu template which's got a 'Hide' item. So i've to hide the item 'Hide' when the window is minimized, and show it again when the window is restored. What's the easiest way to hide and show a menu item in a resource template?

    My amature IT Blog:
    My Flash games:

    (and, sorry for my amateur English)

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Typically when a command is not available, its menu item is greyed and disabled rather than hidden. This effect can be achieved with the EnableMenuItem function. I don't think a menu item can be "hidden", so if you did want to "hide" a menu item you would remove it with DeleteMenu and re-insert it with InsertMenu.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 03-05-2009, 10:25 AM
  2. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  3. HELP!!!!emergency Problem~expert please help
    By unknowppl in forum C++ Programming
    Replies: 9
    Last Post: 08-21-2008, 06:41 PM
  4. HELP!!!!emergency ~expert please help
    By unknowppl in forum C Programming
    Replies: 1
    Last Post: 08-19-2008, 07:35 AM
  5. Constructive Feed Back (Java Program)
    By xddxogm3 in forum Tech Board
    Replies: 12
    Last Post: 10-10-2004, 03:41 AM