AfxGetWindowClientRectfunction
Retrieves the coordinates of a window's client area.
Syntax
FUNCTION AfxGetWindowClientRect (BYVAL hwnd AS HWND) AS RECT
Parameters
| Name | Description | |
|---|---|---|
hwnd | Handle to the window. |
Return value
A RECT structure with the retrieved coordinates of the window's client area.
Description
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).
Reference
- Include file
AfxWin.inc - Defined in AfxNova/AfxWin.inc:2013
- Documented in Windows/Windows Procedures.md
- Topic: Windows Procedures