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

StatusBar_SetText

Previous pageReturn to chapter overviewNext page

 

Description

 

Set the text in the specified status bar part.

 

Syntax

 

n = StatusBar_SetText(hWnd, ctrlID, sText [, lPart [, lFlags]])

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the list-view control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

sText

String

No

Test to be set

lPart

Number

Yes

Index part number. Starts from 1

lFlags

Number

Yes

Optional flags. Use one of the following:

%SBT_NOBORDERS

%SBT_POPOUT

%SBT_RTLREADING

%SBT_TOOLTIPS

%SBT_NOTABPARSING

%SBT_OWNERDRAW

 

Remarks

 

If lPart is omitted, 1 will be assumed.

If lPart is -1, to all parts present in status bar will be assigned sText.

 

Restrictions

 

See also

 

Examples

 

 

 

 

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