Page 1 of 1

WindowBorderSize(), WindowHeightOutside() and update HELP

Posted: Thu Mar 15, 2012 6:30 pm
by Tenaja
The OpenWindow help file says the sizes are the InnerWidth and InnerHeight.
'InnerWidth' and 'InnerHeight' specify the required client area (without borders and window decorations)...
ResizeWindow or WindowHeight does not state this too!!!
Move and resize the given window to the given position and size.
PLEASE update the Help file for newbies; it is not clear as written. I am now aware of this, but anybody who just reads the Help file will wonder why setting it to the DesktopHeight() will not match.

Also, please add WindowBorderSize(), WindowHeightOutside() and WindowWidthOutside().

Currently, I can't find where the help file tells how to get the OuterWidth or OuterHeight, or the "border and window decorations" sizes to use for math. It looks like Windows API calls are required to figure it out, and I hate using non-PB commands.

Thanks.

Re: WindowBorderSize(), WindowHeightOutside() and update HEL

Posted: Thu Mar 15, 2012 9:11 pm
by skywalk
Maybe GetSystemMetrics will help?

Re: WindowBorderSize(), WindowHeightOutside() and update HEL

Posted: Thu Mar 15, 2012 11:35 pm
by Tenaja
I got it figured out with GetWindowRect_(), which gives the outer dimensions, but this does not work with Mac or Linux.