Results 1 to 9 of 9

Thread: speech bubbles [resolved]

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Newcastle
    Posts
    260

    Resolved speech bubbles [resolved]

    How does one get those speech bubbles to appear instead of a regular tooltip on the system tray... you know like when you have updates ready to install and so on.

    Cheers
    Chrisio
    Last edited by Chrisio; Jan 15th, 2005 at 01:05 PM. Reason: resolved

  2. #2
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: speech bubbles

    Take a look at my tool tip text code. The link is in my sig.
    Its a tutorial for creating simple tooltip texts to complicated ones with icons, speech bubbles, text shadows, background images, different fonts and even plays a sound when it shows.

    I have written it as a DLL, so it's easy to add to any project.

    Give me a shout if you get stuck.

    Woka

  3. #3
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: speech bubbles

    Damn...!!!
    Just checked out my code, and I never got up to adding icons and speech bubbles to my final version.
    I had this code in an older version. Booooo

    I'll see if I can dig it out.

    Woka

  4. #4
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: speech bubbles

    Found it.

    This was the starting code I used before I started modifying it to what was in that thread in my sig.
    That reminds me I must get round to adding icons and speech bubble thing to the code in that thread.

    ANyways, here's the code.
    Again, it's written as a dll that you can add to your app.

    To test it, just run Test.vpg.

    Hope this helps.

    To add a speech bubble thing to a tooltip use:
    Code:
    objTip.SpeechThingySize = 15
    As you can see the speech bubble thing can be any size.

    Woka

    Woka
    Attached Files Attached Files

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Newcastle
    Posts
    260

    Re: speech bubbles

    thanks very much woka...just what I needed

    Chrisio

  6. #6

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Newcastle
    Posts
    260

    Re: speech bubbles

    Quote Originally Posted by Wokawidget
    No probs, always glad to help a georgie

    Doing:
    Code:
    objTip.SpeechThingySize = 0
    Means there will be no speech thingy, so you can switch it off.

    Woka
    Glad you like helping geordie Woka cos I have another question regarding these tool tips. I can change the tooltip of the command buttons no problems but I also want to change the tool tip of my system tray Icon. If its any help im using the MB tray control and I set the tool tip like

    VB Code:
    1. tray1.tooltip = " Tool Tip Here"


    Thanks again
    Chris

  8. #8
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Re: speech bubbles [resolved]

    You will need to know the hWnd of the Systray window.
    Doesn't your 3rd part control allow you to access this?

    If not, look at my systray code in my sig.
    You can use this instead of your other control. You WILL be able to get the hWnd of the systray window using this code.
    Which, will in turn, allow you to change the tooltip text

    Woka

  9. #9

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