这是输入框:#include <GUIConstantsEx.au3>
#include <EditConstants.au3>
#include <StaticConstants.au3>
$myGUI = GUICreate("Test", 400, 300)
GUICtrlSetDefColor(0x0000FF)
$input = GUICtrlCreateInput("Input here", 60, 60, 120, 18, $ES_AUTOHSCROLL, 0)
GUICtrlSetFont(-1, 9, 600)
GUICtrlCreateLabel("", 56, 78, 130, 2)
GUICtrlSetBkColor(-1, 0x000000)
GUISetState()
GUICtrlSetBkColor($input, PixelGetColor(20, 20, $myGUI))
Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
组合框有难度,你可以参考这个帖子:http://www.autoitx.com/forum.php ... C7%BF%E9&page=1
用 Edit+List+自绘三角形按钮 来做。 |