GUICtrlSetStyle
调整控件的样式.
GUICtrlSetStyle ( controlID, style [, exStyle] )
参数
返回值
备注
有部分样式不能修改, 请参考 MSDN 文档. $CBS_UPPERCASE 样式的组合框就是一个例子.
相关
GUICtrlCreate...
函数示例
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
Example()
Func Example()
GUICreate("My GUI style") ; will create a dialog box that when displayed is centered
GUICtrlCreateLabel("my label which will split on several lines", 10, 20, 100, 100)
GUICtrlSetStyle(-1, $SS_RIGHT)
GUISetState(@SW_SHOW)
; Loop until the user exits.
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
ExitLoop
EndSwitch
WEnd
EndFunc ;==>Example
----------------------------------------
|