screenheight
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
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](http://www.plantenkennis.com/FiveMac/screen_1.png)
-When the dock is on the right side the window is shown full height, but the controls are not at the top.
![Image](http://www.plantenkennis.com/FiveMac/screen_2.png)
How can I detect whether the dock is at the bottom or on the side of the screen?
-When the dock is at the bottom my window and controls are placed correct
![Image](http://www.plantenkennis.com/FiveMac/screen_1.png)
-When the dock is on the right side the window is shown full height, but the controls are not at the top.
![Image](http://www.plantenkennis.com/FiveMac/screen_2.png)
How can I detect whether the dock is at the bottom or on the side of the screen?