ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Window functions
  • Difference between the result of WinOutHeight and the resolution
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the outer height of a window.
WINDEVJava In the Windows operating system, the outer height includes the border, menu bar, status bar and title bar.
Note: The WinOutHeight function is equivalent to the Height property (<Window>.Height).
Example
// Height of "WIN_EditCustomer" window 
ResHeight = WinOutHeight(WIN_EditCustomer)
Syntax
<Result> = WinOutHeight([<Window>])
<Result>: Integer
Window height (in pixels).
<Window>: Optional window name
Name or alias of the window to be used.
If this parameter is not specified or is an empty string (""), the height of the current window is returned.
Remarks
WINDEV

Difference between the result of WinOutHeight and the resolution

The result of WinOutHeight used on a maximized window may be 8 pixels more that the resolution because WinOutHeight takes into account the "Border" of the window outside the screen (4 pixels on each side).
Therefore, for a resolution of 1280x1024, WinOutHeight and WinOutWidth return 1288x1032.
Component: wd300obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/19/2024

Send a report | Local help