SRabidou
asked on
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?
vb.net 2005
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?
vb.net 2005
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.