Link to home
Start Free TrialLog in
Avatar of trancetopia
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(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles NotifyIcon1.MouseDown
    ContextMenu2.Show(xxx, New Point(e.X, e.Y))
End Sub

Thanks,
Paul
Avatar of trancetopia
trancetopia

ASKER

Increasing points
ASKER CERTIFIED SOLUTION
Avatar of Nazdor
Nazdor

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I knew the answer would be easy.  Thanks Nazdor.