Вопрос

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