DGS Posted January 31, 2004 Posted January 31, 2004 Hi I've been wanting to programmatically show a tooltip over an object on my forms, similarly to how the XP Balloon Tip appears on the task tray. Has anyone achieved this? I've seen a lot of work on the BalloonTip control by Peter Rilling, but this covers a lot more functionality than I'm looking (plus I program in VB!) Any thoughts appreciated. David. Quote
Setsuko Posted February 2, 2004 Posted February 2, 2004 If you want to do this through the standard ToolTip control, unfortunately you have to wait until the Whidbey release later this year. Quote
homebrew311 Posted February 5, 2004 Posted February 5, 2004 Hey Dave, I guess your best bet would have to be creating a seperate form that gets displayed under your certain circumstances. For instance, Quote
homebrew311 Posted February 5, 2004 Posted February 5, 2004 woops, just read off of this one. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim TheForm As New Form() Dim TheLabel As New Label() TheForm.Controls.Add(TheLabel) TheLabel.Text = "This is just a test." TheForm.FormBorderStyle = FormBorderStyle.None TheForm.Width = 80 TheForm.Height = 20 TheLabel.Location = New Point(0, 0) TheForm.TopMost = True TheForm.ShowInTaskbar = False TheForm.Show() TheForm.Location = New Point(Me.Location.X + Button1.Location.X, Me.Location.Y + Button1.Location.Y) End Sub You should probably spend more time jazzing the form up, but thats just about the best i can do for you (i'm pretty new at vb.net). Hope this helps! Quote
Administrators PlausiblyDamp Posted February 5, 2004 Administrators Posted February 5, 2004 http://www.xtremedotnettalk.com/showthread.php?s=&threadid=82337 as done by our very own dynamic_sysop. Be nice and thank him ;) Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.