|
本帖最后由 shounei 于 2009-4-28 21:24 编辑
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
GUISetIcon("008.ico")
$Form2 = GUICreate("密码对话框", 251, 99, -1, -1)
$1 = GUICtrlCreateInput("", 8, 32, 233, 21, BitOR($ES_PASSWORD,$ES_AUTOHSCROLL))
$2 = GUICtrlCreateButton("确定(&O)", 86, 64, 75, 25, 0)
$3 = GUICtrlCreateButton("取消(&C)", 167, 64, 75, 25, 0)
$4 = GUICtrlCreateLabel("请输入密码:", 8, 12, 76, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $2
$w=GUICtrlRead($1)
IniWrite(@ScriptDir & "\QQNetBar.ini" , "账号","na",$w)
Exit
EndSwitch
WEnd
怎么让输入到对话框的字可以显示出来 |
|