CHeader.GetItemRectmethod
Gets the bounding rectangle for a given item in a header control.
Syntax
FUNCTION GetItemRect (BYVAL hHeader AS HWND, BYVAL iItem AS LONG, BYVAL prc AS RECT PTR) AS BOOLEAN
FUNCTION GetItemRect (BYVAL hHeader AS HWND, BYVAL iItem AS LONG, BYREF rc AS RECT) AS BOOLEAN
FUNCTION GetItemRect (BYVAL hHeader AS HWND, BYVAL iItem AS LONG) AS RECT
Parameters
| Name | Description | |
|---|---|---|
hHeader | The handle of the header control. | |
iItem | The zero-based index of the header control item for which to retrieve the bounding rectangle. | |
prc | A pointer to a RECT structure that receives the bounding rectangle information. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Gets the bounding rectangle for a given item in a header control.
Reference
- Include file
CHeader.inc - Defined in AfxNova/CHeader.inc:241
- Documented in Windows/WIndows Controls/CHeader Class.md
- Topic: CHeader Class