Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > StatusBar control > 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
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |