Click or drag to resize
Xcalibur Systems LLC Logo

MonitorHelperGetWindowRect Method

Retrieves the dimensions of the bounding rectangle of the specified window. The dimensions are given in screen coordinates that are relative to the upper-left corner of the screen.

GetWindowRect function


Namespace: Xcalibur.NativeMethods.V2.Monitors
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("user32.dll")]
public static bool GetWindowRect(
	IntPtr windowHandle,
	ref Rectangle rectangle
)

Parameters

windowHandle  IntPtr
The window handle.
rectangle  Rectangle
The rectangle.

Return Value

Boolean
See Also