trancetopia
asked on
Notifyicon Menu position
Hi Folks,
How do I position a context menu above the notify icon when I right click it?
This is what I have so far: Not sure what to replace the xxx with? (This is code i'm using elsewhere in the application)
Private Sub NotifyIcon1_MouseDown(ByVa l sender As Object, ByVal e As System.Windows.Forms.Mouse EventArgs) Handles NotifyIcon1.MouseDown
ContextMenu2.Show(xxx, New Point(e.X, e.Y))
End Sub
Thanks,
Paul
How do I position a context menu above the notify icon when I right click it?
This is what I have so far: Not sure what to replace the xxx with? (This is code i'm using elsewhere in the application)
Private Sub NotifyIcon1_MouseDown(ByVa
ContextMenu2.Show(xxx, New Point(e.X, e.Y))
End Sub
Thanks,
Paul
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I knew the answer would be easy. Thanks Nazdor.
ASKER