<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > StatusBar Control > StatusBar Control Commands > StatusBar_SetText |
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 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