How to find Windows Taskbar location and size?
<p>I have created an application that runs in the system tray. When the user single- clicks the try  icon, a small form comes up in the bottom right corner of the screen, i.e. right above the system tray. The form is basically "sticky" to the tray.</p>

<p>Here is my question: How do I accomplish the same thing, even if the user has the taskbar docked somewhere else? Like at the top of the screen, or one of the sides?</p>

<p>It shouldn't be hard, since I figure all I have to do is find out <em>where</em> the taskbar is. Is it at the bottom, the top, or one of the sides.  But I can't find any documentation anywhere, that explains how to get the location and position of the taskbar.</p>

<p>Any one has any idea about this ?</p>
