最新消息:

PopupListBox是NSIS列表控件操作插件

nsis 永恒心锁 1774浏览 0评论
/*
PopupListBox是NSIS列表控件操作插件
PopupListBox支持列表的多选操作和单选操作.
*/
!AddPluginDir "../../Plugins"
!include MUI2.nsh
OutFile PopupListBox.exe
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_LANGUAGE English
Section
 Push /END
 Push "ja"
 Push "majs"
 PopupListBox::MultiSelect /HEADINGTEXT "Multiple selection list box..." "hello" "meh" "ja"
 Pop $R0
 DetailPrint $R0
 StrCmp $R0 CANCEL DoneA
 Pop $R0
 StrCmp $R0 /END +3
 DetailPrint $R0
 Goto -3
 DoneA:
 PopupListBox::SingleSelect /HEADINGTEXT "Single selection list box..." "hello" "meh" "ja" "majs" "ja" /END
 Pop $R0
 DetailPrint $R0
 StrCmp $R0 CANCEL DoneB
 Pop $R0
 DetailPrint $R0
 DoneB:
SectionEnd
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » PopupListBox是NSIS列表控件操作插件

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