#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <ButtonConstants.au3>
$FormSetupComplete = GUICreate("Quite Imposing Plus 5.2 汉化版 安装", 500, 350, -1, -1);, $WS_CAPTION)
GUISetBkColor(0xfbfcfd);0x007180)
GUICtrlCreatePic(@ScriptDir & "/back0.jpg", 0, 0, 500, 300)
GUICtrlSetState(-1, 128)
GUICtrlCreateLabel("成功完成PDF拼版插件QIP的安装", 170, 20, 315, 35)
GUICtrlSetFont(-1, 14, 600, 0, "宋体")
GUICtrlSetBkColor(-1, 0xfbfcfd);0xFFFFFF)
GUICtrlSetColor(-1, 0x0b3190)
;GUICtrlSetBkColor(-1, -2)
$Files ="成功安装 Quite Imposing Plus 5.2 汉化版 ,中文语言已设置。" & @CRLF & @CRLF & "安装向导即将启动 Adobe Acrobat应用程序,您可以第一时间来体验新安装插件的功能。" & @CRLF & "单击[完成]按钮启动 Adobe Acrobat,退出向导。"
GUICtrlCreateLabel($Files , 170, 70, 315, 115)
GUICtrlSetFont(-1, 9, 100, 0, "宋体")
GUICtrlSetBkColor(-1, 0xfbfcfd);0xFFFFFF)
GUICtrlSetColor(-1, 0x0b3190)
;GUICtrlSetBkColor(-1, -2)
$CheckboxLaunchAcrobat = GUICtrlCreateCheckbox("启动 Adobe Acrobat", 170, 185, 315, 14)
GUICtrlSetFont(-1, 9, 100, 0, "宋体")
GUICtrlSetBkColor(-1, 0xfbfcfd);0xFFFFFF)
GUICtrlSetColor(-1, 0x0b3190)
GUICtrlSetState(-1, $GUI_CHECKED)
$BtnSetupComplete_About = GUICtrlCreateButton("关于(&A)", 20, 315, 80, 25)
GUICtrlSetFont(-1, 9, 100, 0, "宋体")
$BtnSetupComplete_Back = GUICtrlCreateButton("< 上一步(&B)", 220, 315, 80, 25)
GUICtrlSetFont(-1, 9, 100, 0, "宋体")
GUICtrlSetState(-1, $GUI_DISABLE)
$BtnSetupComplete_OK = GUICtrlCreateButton("完成(&F) >", 300, 315, 80, 25, $BS_DEFPUSHBUTTON)
GUICtrlSetFont(-1, 9, 100, 0, "宋体")
GUICtrlSetState(-1, $GUI_FOCUS)
$BtnSetupComplete_Cancel = GUICtrlCreateButton("取消(&C)", 400, 315, 80, 25)
GUICtrlSetFont(-1, 9, 100, 0, "宋体")
GUICtrlSetState(-1, $GUI_DISABLE)
GUISetState(@SW_SHOW, $FormSetupComplete)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
; 点击所有窗口右上角的关闭按钮
Case $GUI_EVENT_CLOSE, $BtnSetupComplete_Cancel
Exit
Case $BtnSetupComplete_OK
MsgBox(0, "", "你点了完成")
Case $CheckboxLaunchAcrobat
If GUICtrlRead($CheckboxLaunchAcrobat) = $GUI_CHECKED Then
MsgBox(0, "", "你点了启动Acrobat", 1)
GUICtrlSetState($BtnSetupComplete_Cancel, 128)
GUICtrlSetState($BtnSetupComplete_Back, 128)
Else
MsgBox(0, "", "你点了启动Acrobat", 1)
GUICtrlSetState($BtnSetupComplete_Cancel, 64)
GUICtrlSetState($BtnSetupComplete_Back, 64)
EndIf
Case $BtnSetupComplete_About
MsgBox(0, "", "你点了关于")
EndSwitch
WEnd
|