ListBox example
From NSIS Wiki
Jump to navigationJump to search
Author: Instructor (talk, contrib) |
Description
- Modern UI custom page
- FileRequest control (autoadd in ListBox or not)
- Add file to ListBox button
- Delete file from ListBox button
- You must select file to enable Next button and Delete button
- If file already exists in ListBox then shows message
- If file inputed in FileRequest manually and it not exists then shows message
When adapting this to your script:
- "GetDlgItem $1 $HWND 1203". Note that "1203" is the dialog ID of that control within the custom page. For custom pages, Field 1 is assigned the ID of 1200, Field 2 gets 1201, Field 14 would be 1213, and so on.
Download
Listbox.zip (1 KB)