Results 1 to 39 of 39

Thread: Changing Context Menu Item's Text Property on a Tray Icon [Resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Ideas Man's Avatar
    Join Date
    Aug 2002
    Location
    Australia
    Posts
    1,718

    Changing Context Menu Item's Text Property on a Tray Icon [Resolved]

    How do I change the the text for a menu item. I'm sure it should be as simple as menuitem.Text = "Caption". The problem is that it sometimes changes once or not at all. I have the OwnerDraw property set to False.

    If I check to caption of the menu item in code, it displays the correct caption but it doesn't display it in the menu, as though it needs to be refreshed or something.

    Any Ideas?
    Last edited by Ideas Man; Sep 17th, 2004 at 08:07 AM.
    I use Microsoft Visual Basic 2005. (Therefore, most code samples I provide will be based around the .NET Framework v2.0, unless otherwise specified)

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