PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Difference between the result of WinOutWidth and the resolution
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the full width of a window (including the border).
Remark: The WinOutWidth function is equivalent to the Width property (<Window>.Width).
Example
// Width of the "WIN_EditCustomer" window
ResWidth = WinOutWidth(WIN_EditCustomer)
Syntax
<Result> = WinOutWidth([<Window used>])
<Result>: Integer
Width of the window (in pixels).
<Window used>: Optional window name or optional string
Name or alias of the window to be used. If this parameter is not specified or if it corresponds to an empty string (""), the width of the current window is returned.
Remarks
WINDEVReports and QueriesUser code (UMC)

Difference between the result of WinOutWidth and the resolution

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