CStatusBar.GetRectmethod
Retrieves the bounding rectangle of a part in a status window.
Syntax
FUNCTION GetRect (BYVAL hStatusBar AS HWND, BYVAL nPart AS DWORD, BYVAL lprc AS RECT PTR) AS LONG
FUNCTION GetRect (BYVAL hStatusBar AS HWND, BYVAL nPart AS DWORD, BYREF rc AS RECT) AS LONG
FUNCTION GetRect (BYVAL hStatusBar AS HWND, BYVAL nPart AS DWORD) AS RECT
Parameters
| Name | Description | |
|---|---|---|
hStatusBar | The handle of the status bar control. | |
nPart | Zero-based index of the part whose bounding rectangle is to be retrieved. | |
lprc | Pointer to a RECT structure that receives the bounding rectangle. | |
rc | A RECT structure that receives the bounding rectangle. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Retrieves the bounding rectangle of a part in a status window.
Reference
- Include file
CStatusBar.inc - Defined in AfxNova/CStatusBar.inc:146
- Documented in Windows/WIndows Controls/CStatusBar Class.md
- Topic: CStatusBar Class