Click or drag to resize

WindowsUtilitiesGetWindowRect Method

Gets 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.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static RECT GetWindowRect(
	IntPtr handle
)

Parameters

handle
Type: SystemIntPtr
The window handle.

Return Value

Type: RECT
A RECT structure that receives the screen coordinates of the upper-left and lower-right corners of the window.
See Also