Navigation:  thinBasic language > Modules > UI (User Interface) > CONTROLs >

CONTROL ADD STATUSBAR

Previous pageReturn to chapter overviewNext page

 

Description

 

Create a status bar control inside a dialog.

 

Syntax

 

hndl = CONTROL ADD STATUSBAR, hwnd, ctrlID, txt, xPos, yPos, Width, Height [, [Style] [, [ExStyle]]]

 

Returns

 

Number

Control window handler.

 

Parameters

 

Name

Type

Optional

Meaning

hwnd

Number

No

Handle of the dialog containing the control

ctrlID

Number

No

Control identifier

txt

String

No

---Not used---

xPos

Number

No

Horizontal position of the control inside the dialog

yPos

Number

No

Vertical position of the control inside the dialog

Width

Number

No

Control width

Height

Number

No

Control height

Style

Number

Yes

Primary style of the control. See STATUSBAR Style equates.

%WS_CHILD | %WS_VISIBLE is in any case always forced.

ExStyle

Number

Yes

Extended style of the control. See STATUSBAR ExStyle equates.

 

Remarks

 

Status bar is placed at the bottom of the dialog and automatically resized when dialog is resized.

 

Restrictions

 

See also

 

Examples

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.6.0.10 Web Site: http://www.thinbasic.com