最新消息:

NSIS 下拉菜单

nsis 永恒心锁 2027浏览 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
免责声明:根据《计算机软件保护条例》第十七条规定“为了学习和研究软件内含的设计思想和原理,通过安装、显示、传输或者存储软件等方式使用软件的,可以不经软件著作权人许可,不向其支付报酬。”您需知晓本站所有内容资源均来源于网络,仅供用户交流学习与研究使用,版权归属原版权方所有,版权争议与本站无关,用户本人下载后不能用作商业或非法用途,需在24个小时之内从您的电脑中彻底删除上述内容,否则后果均由用户承担责任;如果您访问和下载此文件,表示您同意只将此文件用于参考、学习而非其他用途,否则一切后果请您自行承担,如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。丨本站为个人博客非盈利性站点,所有软件信息均来自网络,所有资源仅供学习参考研究目的,并不贩卖软件,不存在任何商业目的及用途。丨本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权BY-NC-SA协议进行授权

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

发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址