Announcement

Collapse
No announcement yet.

Changing Menu Caption

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Changing Menu Caption

    This may be obvious to Windows API guru, but I have been unable to figure out how to change a menu caption text (not an item in the popup) short of destroying the menu and rebuilding it. I want the menu to act as a combobox. Any suggestions?

    Thanks
    Jim

  • #2
    WinAPI: SetMenuItemInfo()

    Don't forget to force redraw with DrawMenuBar() if not a popup.
    Last edited by Michael Mattias; 15 Jul 2009, 10:30 AM.
    Michael Mattias
    Tal Systems (retired)
    Port Washington WI USA
    mmat[email protected]
    http://www.talsystems.com

    Comment


    • #3
      Thanks, I will give it a try.

      Jim

      Comment

      Working...
      X