TerryWahl
Fri Oct 05 04:50:00 PDT 2007
Thanks for the reply. My goal is to pop a window up above the system tray if
the taskbar is on the bottom, below the system tray if the taskbar is on top,
to the left of the system tray if the taskbar is on the right and to the
right of the system tray if the task bar is on the left. I will investigate
screen.bounds and workingarea to see if they help. I'm bummed that there is
not an easy way to determine the taskbar position.
Thanks again,
Terry
"G Himangi" wrote:
> You can use the relative sizes of Screen.Bounds and Screen.WorkingArea to
> determine the position of the taskbar.
> I think this will work only if there are no other appbars on the screen.
>
> ---------
> - G Himangi, Sky Software
http://www.ssware.com
> Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
> Browsing Functionality For Your App (.Net & ActiveX Editions).
> EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
> EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
> rapidly in .Net
> ---------
>
>
>
> "Terry Wahl" <TerryWahl@discussions.microsoft.com> wrote in message
> news:4A7F3E8D-F9D4-40B7-B93F-8134E33DA9C7@microsoft.com...
> > I'm trying to figure out the location of the taskbar (top, bottom, left or
> > right). I am creating an owner drawn tooltip for a NotifyIcon and trying
> > to
> > figure out where to position the form when the user hovers over the
> > NotifyIcon in the system tray. Is there another way to approach the issue
> > of
> > the form placement?
> > Thanks in advance,
> > Terry
>
>
>