Results 1 to 4 of 4

Thread: Balloon click in Windows 2000

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    675

    Balloon click in Windows 2000

    I am trying to do a NotifyIcon Balloon click in Windows 2000.

    If have this:
    VB Code:
    1. Friend WithEvents TaskBarIcon As XPNotifyIcon.NotifyIcon
    2. Dim TaskBarIcon As New XPNotifyIcon.NotifyIcon
    3.  
    4. Me.TaskBarIcon.ShowBalloon(XPNotifyIcon.NotifyIcon.EBalloonIcon.Info, "You have new alerts waiting." & vbCrLf & _
    5.                 "Click balloon to view.", "201 Alerts", 1000)
    6.  
    7.   Private Sub TaskBarIcon_BalloonClick(ByVal sender As Object) Handles TaskBarIcon.BalloonClick
    8.         Me.mnuItmAlerts.PerformClick()
    9.     End Sub

    it works fine, in XP, but does anyone know a similar way to do it in Windows 2000? I have limited internet access here at work, so this is my only hope while I am here.
    VB.Net 2008
    .Net Framework 2.0

    "Must you breathe? 'Cause I need heaven..."

  2. #2
    PowerPoster sparrow1's Avatar
    Join Date
    May 2005
    Location
    Globetrotter
    Posts
    2,820

    Re: Balloon click in Windows 2000

    Hi,

    I found some explanation about the event handler called BalloonClick, and it says that this isn't supported on Windows 2000.
    That could be the raeson way it not will work on Windows 2000.

    Wkr,

    sparrow1
    Wkr,
    sparrow1

    If I helped you, don't forget to Rate my post. Thank you

    I'm using Visual Studio.Net 2003 and
    2005
    How to learn VB.Net Create setup with VB 2005 Drawing for beginners VB.Net Tutorials GDI+ Tutorials
    Video's for beginners

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    675

    Re: Balloon click in Windows 2000

    Well, thats what I figured. That is exactly what I have been seeing here with the different workstations.

    Right now, the user can see the balloon, but clicking on it causes no action. It has been a long time since I have used 2000. I guess what I should be asking is, can one generally click on balloons in Windows 2000? Or is that a feature that a 2000 user would not expect to have?
    VB.Net 2008
    .Net Framework 2.0

    "Must you breathe? 'Cause I need heaven..."

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Balloon click in Windows 2000

    Looking at the documentation for the .NET 2.0 NotifyIcon class, the BallonTipClicked event lists Windows 2000 SP4 amongst its supported platforms. That would imply that that feature was not available in Windows 2000 until SP4. That doesn't mean that the component that you're using supports that feature on Win2K SP4 but you'd need at least that. You'd have to check out the documentation for that specific component to see if there's mention of support for that feature on Win2K.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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