UtilImageGetRealWindowRect(IntPtr) Method

Gets the (non-client) Rectangle of a window.

This method supports a borderless Windows 10 window.

Definition

Namespace: DevCase.Core.Media.Graphics
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Rectangle GetRealWindowRect(
	IntPtr hWnd
)

Parameters

hWnd  IntPtr
A handle to the window.

Return Value

Rectangle
The resulting (non-client) Rectangle of the window.

See Also