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
-When the dock is on the right side the window is shown full height, but the controls are not at the top.
How can I detect whether the dock is at the bottom or on the side of the screen?
screenheight
- plantenkennis
- Posts: 151
- Joined: Wed Nov 25, 2015 7:13 pm
- Location: the Netherlands
- Contact:
screenheight
Kind regards,
René Koot
René Koot
Re: screenheight
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.
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.