title: VB.Net TreeView NodeMouseClick middle mouse button
body: <p>I have been using the NodeMouseClick event to handle left and right clicks on my TreeNodes for a while. Now I want to add an effect to middle clicking as well, but the NodeMouseClick event doesn't seem to fire on a middle click. Is this a known bug, or should it work fine and I'm just doing something wrong? If it is a bug (or just intended to function this way), how can I make a middle click on a TreeNode do something specific with that node?</p>
  
  <p>Here's a bit of my code:</p>
  
  <pre><code>Private Sub TreeView1_NodeMouseClick(sender As Object, e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles TreeView1.NodeMouseClick
      If e.Button = Windows.Forms.MouseButtons.Left Then
          Call nodeLeft(e.Node)
      ElseIf e.Button = Windows.Forms.MouseButtons.Middle Then
          Call nodeMiddle(e.Node)
      ElseIf e.Button = Windows.Forms.MouseButtons.Right Then
          Call nodeRight(e.Node)
      End If
  End Sub
  </code></pre>