0

是否可以将文本集中在状态栏中?

OBS:在程序中自动热键

;Simple Example

Gui, Add, StatusBar

SB_SetText("I want that centered text here")

Gui, Show, Center w600 h300
4

1 回答 1

3

是的,您使用标签,如下所示:

;Simple Example
Gui, Add, StatusBar
SB_SetText(A_Tab "I want that centered text here")
Gui, Show, Center w600 h300

一个用于居中文本的选项卡,两个用于右对齐文本的选项卡。

有关更多信息,请参阅文档:http: //ahkscript.org/docs/commands/GuiControls.htm#SB_SetTextNewText__PartNumber_Style

于 2014-10-31T19:14:12.937 回答