[This is preliminary documentation and is subject to change.]

Gets or sets window area in screen coordinates (even for non-top-level windows)

Namespace: Tools.WindowsT.NativeT
Assembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
[LCategoryAttribute(typeof(ControlsWin), "SizeAndPosition_c", "Size and position", 
	LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)]
public Rectangle ScreenArea { get; set; }
Visual Basic
<LCategoryAttribute(GetType(ControlsWin), "SizeAndPosition_c",  _
	"Size and position", LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)> _
Public Property ScreenArea As Rectangle
	Get
	Set
Visual C++
[LCategoryAttribute(typeof(ControlsWin), L"SizeAndPosition_c", L"Size and position", 
	LCategoryAttribute..::..enmLookUpOrder::ResourceFirst)]
public:
property Rectangle ScreenArea {
	Rectangle get ();
	void set (Rectangle value);
}
F#
[<LCategoryAttribute(typeof(ControlsWin), "SizeAndPosition_c", "Size and position", 
    LCategoryAttribute..::..enmLookUpOrder.ResourceFirst)>]
member ScreenArea : Rectangle with get, set
JScript
function get ScreenArea () : Rectangle
function set ScreenArea (value : Rectangle)

Field Value

New area to cover

Return Value

Current area that windows covers on screen

Exceptions

ExceptionCondition
Tools.API..::..Win32APIExceptionError while setting or obtaining the area (ie. Handle is invalid)

See Also