Joined: 26 Oct 2017
Location: University of Kassel,Germany
|Posted: Sat Apr 07, 2018 1:41 pm Post subject: Informations about windows metrics?
|Depending on the dimensions of the used PC-monitor, my programs define the size (width and height) and the place (x-position,y-position) of the needed windows.
In the manual I find only a routine, which allows to get infomations about the used screen and the used font:
| INCLUDE <windows.ins>
xres = clearwin_info@('screen_width') ! Monitorpixels in x/w-direction
yres = clearwin_info@('screen_depth') ! Monitorpixels in y/h-direction
To specify the dimensions of windows to be opended at the screen, some more informations about the used parameters are helpfull, such as:
- width of borderline
- width of frameline
- height of caption bar
- width and heigth of scrollbars (vertical and horizontal)
- width and heigth of menu bar
- width and heigth of frame
- width and heigth of border
Is it possible to get these informations with the same procedure clearwin_info@('.....'); what are the 'keywords'.
For Information: I'm using Personal Edition V8.1