Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > StatusBar control >

StatusBar_SetParts

Previous pageReturn to chapter overviewNext page

 

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