i would like to add a list of check boxes to my win32 application, because i need a control element with multiple selection. I've searched the msdn docs and found exactly what i need in this article: https://msdn.microsoft.com/en-us/library/windows/desktop/dn742407.aspx. But i can't find any code related to it. Is this a special control element? Or is this just a list view filled with check boxes? Or is this a special style for the combo box control? Would appreciate if someone could provide an example or provide a link to the documentation of the control.
c++ win32 checkbox list - multiple selection
3.8k Views Asked by blejzz At
2
There are 2 best solutions below
2

This does not appear to be a built-in capability to the standard LISTBOX control, or there would be a LBS_xxx
style constant to enable it.
MFC provides a class CCheckListBox
to do this.
That screenshot is a ListView control with
LVS_EX_CHECKBOXES
.The documented you linked to is UI guidance, not programming documentation. It's talking about UI design, not programmatic control names.