screenheight

screenheight

Postby plantenkennis » Fri May 25, 2018 5:58 pm

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
plantenkennis
 
Posts: 166
Joined: Wed Nov 25, 2015 7:13 pm
Location: the Netherlands

Re: screenheight

Postby mastintin » Tue May 29, 2018 9:31 pm

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.
User avatar
mastintin
 
Posts: 1516
Joined: Thu May 27, 2010 2:06 pm


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 23 guests