CRebar.GetRectmethod
Retrieves the bounding rectangle for a given band in a rebar control.
Syntax
FUNCTION GetRect (BYVAL hRebar AS HWND, BYVAL uBand AS DWORD, BYVAL prc AS RECT PTR) AS BOOLEAN
FUNCTION GetRect (BYVAL hRebar AS HWND, BYVAL uBand AS DWORD, BYREF rc AS RECT) AS BOOLEAN
FUNCTION GetRect (BYVAL hRebar AS HWND, BYVAL uBand AS DWORD) AS RECT
Parameters
| Name | Description | |
|---|---|---|
hRebar | The handle of the Rebar control. | |
uBand | Zero-based index of a band in the rebar control. | |
prc | Pointer to a RECT structure that will receive the bounds of the rebar band. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Retrieves the bounding rectangle for a given band in a rebar control.
Reference
- Include file
CRebar.inc - Defined in AfxNova/CRebar.inc:354
- Documented in Windows/WIndows Controls/CRebar Class.md
- Topic: CRebar Class