Results 1 to 8 of 8

Thread: [RESOLVED] Balloon ToolTip Click Help

  1. #1

    Thread Starter
    Lively Member feneck's Avatar
    Join Date
    Mar 2007
    Location
    Australia, Queensland, Gympie
    Posts
    85

    Resolved [RESOLVED] Balloon ToolTip Click Help

    Pretty basic question, but i cant seem to find an answer...

    What is the code to detect when the user clicks on the ToolTip.

    (What i am trying to do is change a registry value when the user clicks on the tooltip so that my program knows not to show the tooltip again)

    Thanks

    REMEMBER TO RATE

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Balloon ToolTip Click Help

    Quote Originally Posted by feneck
    Pretty basic question, but i cant seem to find an answer...
    It is far from a basic question and I'm not surprised you haven't found an answer. I've never, ever seen any examples of this.

    I know that with standard VB tooltips you won't be able to get any thing out of clicking them, but there could be, somewhere out there, a third party tooltip control that offers this feature.

    I tried Google before posting this an came up with the same thing you did......zilch.

  3. #3

    Thread Starter
    Lively Member feneck's Avatar
    Join Date
    Mar 2007
    Location
    Australia, Queensland, Gympie
    Posts
    85

    Re: Balloon ToolTip Click Help

    Darn, it has to be possible though? Other programs have like a tooltip that says "<name> is still running, Click here to not show this reminder again"????

    anyone else have any ideas? or maybe a work around, lol?

    REMEMBER TO RATE

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

    Re: Balloon ToolTip Click Help

    Tool tips? Not possible that I know of; at least no examples I have ever seen & would require lots and lots of trial & error to accomplish

    Balloons?
    It is very possible and requires subclassing. Some extra messages are even available for XP & above. Here is a link that has sample code you can play with. There are several example links, find the one that suits your needs.
    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}

  5. #5

    Thread Starter
    Lively Member feneck's Avatar
    Join Date
    Mar 2007
    Location
    Australia, Queensland, Gympie
    Posts
    85

    Re: Balloon ToolTip Click Help

    THANKYOU so much LaVolpe!!! I got it... I took some of the code from that module and edited the one I had, its all good now.

    If anyone would like the code or wants to know how i did it, just ask...

    REMEMBER TO RATE

  6. #6

    Thread Starter
    Lively Member feneck's Avatar
    Join Date
    Mar 2007
    Location
    Australia, Queensland, Gympie
    Posts
    85

    Exclamation Re: [RESOLVED] Balloon ToolTip Click Help

    I've had some requests for the code I have used.

    So today I slapped up a demo for everyone.
    Enjoy
    Attached Files Attached Files
    Last edited by feneck; Apr 22nd, 2009 at 06:01 AM.

    REMEMBER TO RATE

  7. #7
    VB For Fun Edgemeal's Avatar
    Join Date
    Sep 2006
    Location
    WindowFromPoint
    Posts
    4,255

    Re: [RESOLVED] Balloon ToolTip Click Help

    Quote Originally Posted by feneck View Post
    I've had some requests for the code I have used.

    So today I slapped up a demo for everyone.
    Enjoy
    Just a quick look I see theres a few things you can improve.

    1, Remove the ballon/tray on form unload event, Not from a button, if you (X) exit the program the tray is still there!

    2. Never use the "END" command to exit a program!

    3. The Mouse_move code is using x/Screen.TwipsPerPixelX, so it only works correctly if the forms scalemode = Twips.

  8. #8

    Thread Starter
    Lively Member feneck's Avatar
    Join Date
    Mar 2007
    Location
    Australia, Queensland, Gympie
    Posts
    85

    Re: [RESOLVED] Balloon ToolTip Click Help

    Quote Originally Posted by Edgemeal View Post
    Just a quick look I see theres a few things you can improve.

    1, Remove the ballon/tray on form unload event, Not from a button, if you (X) exit the program the tray is still there!

    2. Never use the "END" command to exit a program!

    3. The Mouse_move code is using x/Screen.TwipsPerPixelX, so it only works correctly if the forms scalemode = Twips.

    This wasn't really designed to be perfect. I already knew of 1 & 2, as for 3, I didn't even think of.

    Thanks for the help. I probably wont get around to fixing it any time soon though.

    REMEMBER TO RATE

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