Click here to Skip to main content
13,249,813 members (67,399 online)
Click here to Skip to main content
Add your own
alternative version


16 bookmarked
Posted 11 Apr 2005

Balloon tooltips UserControl in VB.NET

, 11 Apr 2005
Rate this:
Please Sign up or sign in to vote.
How to create balloon tooltips using graphic paths to highlight someting on your form.

Sample screenshot


This is a simple application that I created while I was working on one of my other applications. It might not be exactly what you are looking for but it does what I wanted to achieve. On top of that this is my first submission to CP, a great source of information.

All this application does is allows you to create balloon tips like in the image above to highlight any area of your form/application.


Inside control:

This simple user control utilizes the GDI+ polygon:

Dim p As Point() = {New Point(0, 0), New Point(100, 0), _
         New Point(100, 50), New Point(170, 120), _
         New Point(70, 50), New Point(0, 50)}


Using the control:

In your client application, remember to add a control reference in you tool box to BaloonToolTip.dll.

Then simply drag and drop the control on your form to use it.

BaloonToolTip2.BackColor = Color.Red

BaloonToolTip2.ForeColor = Color.Yellow

BaloonToolTip2.ShowBaloonToolTip("Hello Tip going left", _
                         btnShow.Left, btnShow.Top, False)

The last parameter PointingRight is a Boolean type. If set to True, the control would move the balloon towards left and the pointer would move towards right and vice versa.

In the sample, Xpos and YPos are taken from btnShow's Left and Top respectively.



This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Pakistan Pakistan
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralMy vote of 2 Pin
AxelM27-Sep-09 21:47
memberAxelM27-Sep-09 21:47 
Questionrecycle bin Pin
syriast30-Jul-06 4:40
membersyriast30-Jul-06 4:40 
AnswerRe: recycle bin Pin
Limo Driver2-May-07 8:27
memberLimo Driver2-May-07 8:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171114.1 | Last Updated 11 Apr 2005
Article Copyright 2005 by msali
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid