<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > StatusBar Control > StatusBar Control Commands > StatusBar_SetParts |
Description
Set the number and position of the parts inside a status bar control.
Syntax
n = StatusBar_SetParts(hWnd, ctrlID, Position1 [, Position2 [, ...]])
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
hWnd |
Number |
No |
Handle of the dialog containing the control |
ctrlID |
Number |
No |
Control identifier assigned to the control during CONTROL ADD ... |
Position1 |
Number |
No |
Left position in pixel of part 1 |
Position... |
Number |
Yes |
Up to 8 parts pixel position can be specified. Enter -1 to indicate part will occupy the rest of the status bar |
Remarks
Restrictions
See also
Examples