Reputation: 106549
In .NET land, there's the tremendously useful System.Windows.Forms.CheckedListBox class.
What is the equivalent in Windows Common Controls land? (if any)
Upvotes: 2
Views: 297
Reputation: 13628
Turn a list view into one with checkboxes. If you want it similar to a ListBox, only use 1 column.
ListView_SetExtendedListViewStyle (handle, LVS_EX_CHECKBOXES | LVS_EX_FULLROWSELECT);
Upvotes: 5
Reputation: 3167
This article might be of interest for you. In short windows allows quite easily to implement checkboxes in Listbox and combobox through custom drawing and messaging.
Upvotes: 0
Reputation: 4282
Almost identical UI can be developed with the List View control by using item state images.
But selection management and other functionalities need to be implemented manually.
Upvotes: 0