Results 1 to 2 of 2

Thread: Is possible to show Tooltip on submenuitem?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    177

    Is possible to show Tooltip on submenuitem?

    Hello

    Does exist some simple way how to do it?

    Thanks

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Is possible to show Tooltip on submenuitem?

    Simple way? No. To the best of my knowledge, you would have to create a tooltip window by code, grab the window handle of the displayed menu, then get the dimensions/location of the menu item. With that info, you can tell the tooltip to show when the mouse is over that area.

    Idea. Without subclassing, I believe this can be done with a hook (somewhat advanced). The hook would be established just prior to the menu being displayed, it would look for the menu class being created/displayed, get the hWnd, then menu APIs would be used to get the other information. This can be done with subclassing, but requires even more experience since subclassing is not easy for those unfamiliar with it.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

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