User32GetClientRect Method

Overload List

GetClientRect(IntPtr, NativeRectangle) Retrieves 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).

GetClientRect(IntPtr, Rectangle) Retrieves 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).

GetClientRect(SafeHandle, NativeRectangle) Retrieves 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).

GetClientRect(SafeHandle, Rectangle) Retrieves 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).

See Also