screenheight

Post Reply
User avatar
plantenkennis
Posts: 151
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands
Contact:

screenheight

Post by plantenkennis »

I use the function ScreenHeight() in my app. But when I calculate with this there are some strange things.
-When the dock is at the bottom my window and controls are placed correct
Image
-When the dock is on the right side the window is shown full height, but the controls are not at the top.
Image
How can I detect whether the dock is at the bottom or on the side of the screen?
Kind regards,

René Koot
User avatar
mastintin
Posts: 1502
Joined: Thu May 27, 2010 2:06 pm

Re: screenheight

Post by mastintin »

Yes is posible ...

I'm going to implement this functions :
SCREENVISIBLEWIDTH -> width screen ( no dock include if possition is left .or. right )
SCREENVISIBLEHEIGHT -> Height position ( no include statusbar and dock , if is bottom )
STATUSBARHEIGHT -> Height statusbar
GETDOCKPOSITION -> Return "left", "right" o "bottom" text
GETDOCKSIZE -> size dock
ISDOCKHIDDEN -> bold true for hidden ,false for visible .

Saludos.
Post Reply