AddStatusBarField()

语法

AddStatusBarField(Width)
概要
Adds a field to the current statusbar previously created with CreateStatusBar(). Each new field is created after the old one.

参数

Width The width of the new field in pixels. If sets to #PB_Ignore then the field will be resized to fill the remaining free space on the statusbar. Multiple fields can have a width of #PB_Ignore, in which case the free space will be divided evenly among these fields.

返回值

无.

Remarks

The following commands can be used to set or change the content of the statusbar field:
- StatusBarText()
- StatusBarImage()
- StatusBarProgress()

See CreateStatusBar() for an example.

参阅

StatusBarText(), StatusBarImage(), StatusBarProgress(), CreateStatusBar()

已支持操作系统

所有

StatusBar Index - CreateStatusBar() ->