最新消息:

NSIS 下拉菜单

nsis 永恒心锁 1273浏览 0评论
!include "MUI2.nsh"

Name "example_NSD_DropList"

OutFile "example_NSD_DropList.exe"

InstallDir "$EXEDIR"

Page custom nsDialogsPage

!insertmacro MUI_LANGUAGE "English"

Section ""

SectionEnd

Var DropList1
Var DropList2
Var DropList3

Function nsDialogsPage

nsDialogs::Create /NOUNLOAD 1018
Pop $0

${NSD_CreateLabel} 20 20 100 10u "Height: 100"
${NSD_CreateDropList} 20 50 100 100 ""
Pop $DropList1

${NSD_CB_AddString} $DropList1 A
${NSD_CB_AddString} $DropList1 B
${NSD_CB_AddString} $DropList1 C
${NSD_CB_AddString} $DropList1 D
${NSD_CB_AddString} $DropList1 E
${NSD_CB_AddString} $DropList1 A
${NSD_CB_AddString} $DropList1 B
${NSD_CB_AddString} $DropList1 C
${NSD_CB_AddString} $DropList1 D
${NSD_CB_AddString} $DropList1 E
${NSD_CB_AddString} $DropList1 A
${NSD_CB_AddString} $DropList1 B
${NSD_CB_AddString} $DropList1 C
${NSD_CB_AddString} $DropList1 D
${NSD_CB_AddString} $DropList1 E
${NSD_CB_AddString} $DropList1 A
${NSD_CB_AddString} $DropList1 B
${NSD_CB_AddString} $DropList1 C
${NSD_CB_AddString} $DropList1 D
${NSD_CB_AddString} $DropList1 E
${NSD_CB_AddString} $DropList1 A
${NSD_CB_AddString} $DropList1 B
${NSD_CB_AddString} $DropList1 C
${NSD_CB_AddString} $DropList1 D
${NSD_CB_AddString} $DropList1 E
${NSD_CB_AddString} $DropList1 A
${NSD_CB_AddString} $DropList1 B
${NSD_CB_AddString} $DropList1 C
${NSD_CB_AddString} $DropList1 D
${NSD_CB_AddString} $DropList1 E
${NSD_CB_AddString} $DropList1 A
${NSD_CB_AddString} $DropList1 B
${NSD_CB_AddString} $DropList1 C
${NSD_CB_AddString} $DropList1 D
${NSD_CB_AddString} $DropList1 E
${NSD_CB_AddString} $DropList1 A
${NSD_CB_AddString} $DropList1 B
${NSD_CB_AddString} $DropList1 C
${NSD_CB_AddString} $DropList1 D
${NSD_CB_AddString} $DropList1 E
${NSD_CB_AddString} $DropList1 A
${NSD_CB_AddString} $DropList1 B
${NSD_CB_AddString} $DropList1 C
${NSD_CB_AddString} $DropList1 D
${NSD_CB_AddString} $DropList1 E

${NSD_CreateLabel} 150 20 100 10u "Height: 500"
${NSD_CreateDropList} 150 50 100 500 ""
Pop $DropList2

${NSD_CB_AddString} $DropList2 A
${NSD_CB_AddString} $DropList2 B
${NSD_CB_AddString} $DropList2 C
${NSD_CB_AddString} $DropList2 D
${NSD_CB_AddString} $DropList2 E
${NSD_CB_AddString} $DropList2 A
${NSD_CB_AddString} $DropList2 B
${NSD_CB_AddString} $DropList2 C
${NSD_CB_AddString} $DropList2 D
${NSD_CB_AddString} $DropList2 E
${NSD_CB_AddString} $DropList2 A
${NSD_CB_AddString} $DropList2 B
${NSD_CB_AddString} $DropList2 C
${NSD_CB_AddString} $DropList2 D
${NSD_CB_AddString} $DropList2 E
${NSD_CB_AddString} $DropList2 A
${NSD_CB_AddString} $DropList2 B
${NSD_CB_AddString} $DropList2 C
${NSD_CB_AddString} $DropList2 D
${NSD_CB_AddString} $DropList2 E
${NSD_CB_AddString} $DropList2 A
${NSD_CB_AddString} $DropList2 B
${NSD_CB_AddString} $DropList2 C
${NSD_CB_AddString} $DropList2 D
${NSD_CB_AddString} $DropList2 E
${NSD_CB_AddString} $DropList2 A
${NSD_CB_AddString} $DropList2 B
${NSD_CB_AddString} $DropList2 C
${NSD_CB_AddString} $DropList2 D
${NSD_CB_AddString} $DropList2 E
${NSD_CB_AddString} $DropList2 A
${NSD_CB_AddString} $DropList2 B
${NSD_CB_AddString} $DropList2 C
${NSD_CB_AddString} $DropList2 D
${NSD_CB_AddString} $DropList2 E
${NSD_CB_AddString} $DropList2 A
${NSD_CB_AddString} $DropList2 B
${NSD_CB_AddString} $DropList2 C
${NSD_CB_AddString} $DropList2 D
${NSD_CB_AddString} $DropList2 E
${NSD_CB_AddString} $DropList2 A
${NSD_CB_AddString} $DropList2 B
${NSD_CB_AddString} $DropList2 C
${NSD_CB_AddString} $DropList2 D
${NSD_CB_AddString} $DropList2 E

${NSD_CreateLabel} 280 20 100 10u "Height: 1000"
${NSD_CreateDropList} 280 50 100 1000 ""
Pop $DropList3

${NSD_CB_AddString} $DropList3 A
${NSD_CB_AddString} $DropList3 B
${NSD_CB_AddString} $DropList3 C
${NSD_CB_AddString} $DropList3 D
${NSD_CB_AddString} $DropList3 E
${NSD_CB_AddString} $DropList3 A
${NSD_CB_AddString} $DropList3 B
${NSD_CB_AddString} $DropList3 C
${NSD_CB_AddString} $DropList3 D
${NSD_CB_AddString} $DropList3 E
${NSD_CB_AddString} $DropList3 A
${NSD_CB_AddString} $DropList3 B
${NSD_CB_AddString} $DropList3 C
${NSD_CB_AddString} $DropList3 D
${NSD_CB_AddString} $DropList3 E
${NSD_CB_AddString} $DropList3 A
${NSD_CB_AddString} $DropList3 B
${NSD_CB_AddString} $DropList3 C
${NSD_CB_AddString} $DropList3 D
${NSD_CB_AddString} $DropList3 E
${NSD_CB_AddString} $DropList3 A
${NSD_CB_AddString} $DropList3 B
${NSD_CB_AddString} $DropList3 C
${NSD_CB_AddString} $DropList3 D
${NSD_CB_AddString} $DropList3 E
${NSD_CB_AddString} $DropList3 A
${NSD_CB_AddString} $DropList3 B
${NSD_CB_AddString} $DropList3 C
${NSD_CB_AddString} $DropList3 D
${NSD_CB_AddString} $DropList3 E
${NSD_CB_AddString} $DropList3 A
${NSD_CB_AddString} $DropList3 B
${NSD_CB_AddString} $DropList3 C
${NSD_CB_AddString} $DropList3 D
${NSD_CB_AddString} $DropList3 E
${NSD_CB_AddString} $DropList3 A
${NSD_CB_AddString} $DropList3 B
${NSD_CB_AddString} $DropList3 C
${NSD_CB_AddString} $DropList3 D
${NSD_CB_AddString} $DropList3 E
${NSD_CB_AddString} $DropList3 A
${NSD_CB_AddString} $DropList3 B
${NSD_CB_AddString} $DropList3 C
${NSD_CB_AddString} $DropList3 D
${NSD_CB_AddString} $DropList3 E

nsDialogs::Show

FunctionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » NSIS 下拉菜单

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