Position of the toolbar under windows

Hi,

Is there a function that give me the position of the toolbar under windows?
(left, right, top or bottom)

This to know where is the tray position to display a tooltip at the right
place.

-philippe

Philippe Ney wrote:

Hi,

Is there a function that give me the position of the toolbar under windows?
(left, right, top or bottom)

This to know where is the tray position to display a tooltip at the right
place.

You are probably refering to the taskbar, right? Calling wxGetDisplaySize and wxGetClientDisplayRect and comparing the return values should tell you which side the taskbar is on.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Philippe Ney wrote:
> Hi,
>
> Is there a function that give me the position of the toolbar under
> windows?(left, right, top or bottom)
>
> This to know where is the tray position to display a tooltip at the right
> place.
>

You are probably refering to the taskbar, right? Calling
wxGetDisplaySize and wxGetClientDisplayRect and comparing the return
values should tell you which side the taskbar is on.

Yes. That will certainly do the trick!
Thanks Robin,
-philippe