Get Rectangle - Status Bar SENDMSG() Function 23
Syntax
RECT$=SENDMSG(sysgui,id,23,segment_index,$${,context{,ERR=lineref}})
Description
This function returns a templated string that contains the bounding rectangle within client coordinates of the status bar.
Parameter |
Description |
sysgui |
SYSGUI channel. |
id |
Status bar control ID. |
23 |
Number of this SENDMSG() function. |
segment_index |
Index of segment to retrieve the length from. If this value is greater than the number of segments, an invalid parameter error will be generated. |
$$ |
Always null. |
The following describes the format of the RECT$ string:
left:u(2), top:u(2), width:u(2), height:u(2)
The string returns the bounding rectangle within client coordinates of the status bar, not its parent window.