Returns the full width of a window (including the border).
: The WinOutWidth
function is equivalent to the Width
// Width of the "WIN_EditCustomer" window
ResWidth = WinOutWidth(WIN_EditCustomer)
<Result> = WinOutWidth([<Window used>])
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.
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