[vb2003] NotifyIcon and mouse buttons
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: [vb2003] NotifyIcon and mouse buttons

  1. #1
    Join Date
    May 2011
    Posts
    1

    [vb2003] NotifyIcon and mouse buttons

    Hello.

    I am writing program in VB 2003 .Net and Framework .Net 1.1

    I'm using NotifyIcon class without form.

    Private WithEvents _niTray As System.Windows.Forms.NotifyIcon

    Private Sub _niTray_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles _niTray.Click

    Console.WriteLine("{0} {1}", sender.ToString, e.ToString)

    End Sub

    How i can detect which mouse buttons (left or right) cliks?

    Thanks for help

    Krzysztof

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,074

    Re: [vb2003] NotifyIcon and mouse buttons


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center