Is there a way to position a form just above the clicked Notify Icon in windows 7 and windows Vista?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Regarding your comment: “how could i know how is the taskbar positioned?”
Check out the following article which contains a class which exposes a method for retrieving a Rectangle Structure for the tray: [c#] NotifyIcon – Detect MouseOut
Using this class you can retrieve the Rectangle Structure for the tray like so:
Which will provide you with the Top, Left, Right and Bottom coordinates for the tray along with its width and height.
I have included the class below:
Hope this helps.