最新消息:

彩色许可页面

nsis 永恒心锁 1484浏览 0评论
!include "MUI.nsh"
Name "Modern UI Test"
OutFile "WelcomeFinish.exe"
InstallDir "$LOCALAPPDATAModern UI Test"
!define MUI_LICENSEPAGE_CHECKBOX
!define MUI_PAGE_CUSTOMFUNCTION_show Pageshow ;更改1
!insertmacro MUI_PAGE_WELCOME
!define MUI_PAGE_CUSTOMFUNCTION_show LicensePageshow ;更改1
!insertmacro MUI_PAGE_LICENSE "${NSISDIR}DocsModern UILicense.txt"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE "SimpChinese"
Section
SectionEnd
Function LicensePageshow ;更改2
SetCtlColors $HWNDPARENT 0xFFFFFF 0x000000
FindWindow $0 "#32770" "" $HWNDPARENT
SetCtlColors $0 0xFFFFFF 0x000000
GetDlgItem $1 $0 1040
SetCtlColors $1 0xFFFFFF 0x000000
GetDlgItem $1 $0 1006
SetCtlColors $1 0xFFFFFF 0x000000
GetDlgItem $1 $0 1028
SetCtlColors $1 0xFFFFFF 0x000000
GetDlgItem $1 $0 1034
SetCtlColors $1 0xFFFFFF 0x000000
FunctionEnd
Function Pageshow ;更改2
SetCtlColors $HWNDPARENT 0xFFFFFF 0x000000
GetDlgItem $1 $HWNDPARENT 1028
SetCtlColors $1 0xFFFFFF 0x000000
GetDlgItem $1 $HWNDPARENT 1
SetCtlColors $1 0xFFFFFF 0x000000
GetDlgItem $1 $HWNDPARENT 2
SetCtlColors $1 0xFFFFFF 0x000000
GetDlgItem $1 $HWNDPARENT 3
SetCtlColors $1 0xFFFFFF 0x000000
FunctionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » 彩色许可页面

您必须 登录 才能发表评论!