Get/Set Display Rectangle - TABCTRL SENDMSG() Function 20
Depending on the syntax used, this function returns or sets the display rectangle of the tab control
Get Display Rectangle Syntax
RECT$=SENDMSG(sysgui,id,20,0,$${,context{,ERR=lineref}})
Parameter |
Description |
sysgui |
SYSGUI channel. |
id |
Tab control ID. |
20 |
Number of this SENDMSG() function. |
0 |
Always zero. |
$$ |
Always null. |
The returned eight-byte string describes the display rectangle according to the following template:
x:i(2),y:i(2),w:u(2),h:u(2)
Set Display Rectangle Syntax
NULL$=SENDMSG(sysgui,id,20,1,rect${,context{,ERR=lineref}})
Parameter |
Description |
sysgui |
SYSGUI channel. |
id |
Tab control ID. |
20 |
Number of this SENDMSG() function. |
1 |
Nonzero. |
rect$ |
Eight-byte string that describes the display rectangle according to the following template: x:i(2),y:i(2),w:u(2),h:u(2) |