문제

I would like to create a custom page using nsDailogs that is similar to the Components Page in MUI. It should have a scrolling section that will contain the list of CheckBoxes. The list will be populated at runtime depending on the programs already installed on the computer. I would like to include the scroll pane because the list may become too long to show on the screen.

Is there some way to create a ListBox and add CheckBoxes to it similar to adding Strings to it? Forum thread for adding Strings to ListBox: http://forums.winamp.com/showthread.php?threadid=276367

Thanks for the help!

도움이 되었습니까?

해결책

A listbox does not support checkboxes, the listview control however does have checkbox support. You can find a header file for it on the wiki, there is also a plugin you could take a look at.

Checkboxes can also be emulated by using a imagelist in a listview or treeview. (NSIS does this because native listview checkboxes are not supported on Win95)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top