PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the full width of a window (including the border).
Note: WinOutWidth is equivalent to ..Width (<WindowName>..Width).
Example
// Width of the "WIN_EditCustomer" window
ResWidth = WinOutWidth(WIN_EditCustomer)
Syntax
<Result> = WinOutWidth([<Window Name>])
<Result>: Integer
Width of the window (in pixels).
<Window Name>: Optional character string (with or without quotes)
Name or alias of window to use. 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 QueriesWindows MobileUser 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.
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment