Customized tooltip

You mean a regular button with image and no text?
VB.NET:
[SIZE=2][COLOR=#0000ff]Dim[/COLOR][/SIZE][SIZE=2] tt [/SIZE][SIZE=2][COLOR=#0000ff]As [/COLOR][/SIZE][SIZE=2] [/SIZE][SIZE=2][COLOR=#0000ff]New[/COLOR][/SIZE][SIZE=2] ToolTip()
tt.SetToolTip(button1, [/SIZE][SIZE=2][COLOR=#800000]"click me"[/COLOR][/SIZE][SIZE=2])
[/SIZE]
 
I'm still not sure what kind of button you are talking about, and I haven't got a clue what "give the tooltip as another image" means.
 
The ToolTip class has some new functionality in 2005. Add one to a form and check out the properties listed in the Properties window. It can be diplayed as a balloon instead of the default rectangle. It can also display a title and one of the standard icons like a MessageBox.

Note that if you want more than that you'll have to inherit the class and handle drawing it yourself I would think.
 
Back
Top