ContentMenuStrip Left Click Notify Icon

I would like the contentMenuStrip to appear when the user Left Clicks on the NotifyIcon, right above the NotifyIcon (Just as it would if user had right clicked)

I have a attatched a contentMenuStrip to a NotifyIcon which i would like activated on the Left click and not the usual right click.   I tryed disattaching ContentMenuStrip from the NotifyIcon and on the click action of the Notify Icon , I determin the Click Type (right or Left) and if Left,  I give the location (X,Y) i would like the ContentMenuStrip to appear.  

The first left click, the content Menu appears in the top left corner, but all subsequent times it appears where i markered the (x,y - approx where the notify icon is)  

I put the location code prior to displaying the contentmenu, but still the first left click it does not appear where i want it to...

Any Ideas? 2005
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Wayne Taylor (webtubbs)Commented:
If I use this code, it works fine....
    Private Sub NotifyIcon1_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles NotifyIcon1.MouseClick
        If Not e.Button = Windows.Forms.MouseButtons.Left Then Exit Sub
        With My.Computer.Screen.WorkingArea
            ContextMenuStrip1.Show(.Width - ContextMenuStrip1.Width - 5, .Height)
        End With
    End Sub

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.