[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

    [vb2003] NotifyIcon and mouse buttons


    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


  2. #2
    Join Date
    Jul 2001
    Sunny South Africa

    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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)