Click or drag to resize

WindowsUtilitiesGetClientRect Method

Gets the coordinates of a window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner are (0,0).

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

Parameters

handle
Type: SystemIntPtr
The window handle.

Return Value

Type: RECT
A RECT structure receives the client coordinates. The left and top members are zero. The right and bottom members contain the width and height of the window.
See Also