I have tried to get a balloon tip working with the ShowBalloonTip method of the NotifyIcon.
My OS is Vista Ultimate 64 bit and after some research I found out that my OS may be the issue.
I was just wondering if anyone could shed some light on this or if they have the same OS, try it for themselves.
Here is the code I have tried working with:
vb.net Code:
Public Class Form1 Dim sp As New Stopwatch() Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click NotifyIcon1.Icon = Me.Icon NotifyIcon1.Visible = True NotifyIcon1.ShowBalloonTip(5000, "Test Title", "I'm not appearing", ToolTipIcon.Info) End Sub Private Sub NotifyIcon1_BalloonTipClosed(ByVal sender As Object, ByVal e As System.EventArgs) Handles NotifyIcon1.BalloonTipClosed sp.Stop() MessageBox.Show(sp.Elapsed.ToString()) End Sub Private Sub NotifyIcon1_BalloonTipShown(ByVal sender As Object, ByVal e As System.EventArgs) Handles NotifyIcon1.BalloonTipShown MessageBox.Show("shown") sp.Start() End Sub End Class
It seems the shown and closed events do no even get called.
After some Googling I found out that some other Vista users (not necessarily Ultimate) are having the same issue.
Is there any workaround at all to this?
P.S- This is just general curiosity so I don't have any need to make my own version or use a 3rd party class/control.




Reply With Quote
