#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 633, 50, 566, 266)
$Input1 = GUICtrlCreateInput("Input1", 16, 16, 465, 21)
$Button1 = GUICtrlCreateButton("Button1", 496, 8, 105, 33, $WS_GROUP)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
GUICtrlSetData($Input1, RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\TENCENT\QQ2009", "Install"))
EndSwitch
WEnd
帮助文件:
GUICtrlSetData |