Native checked list box (SysListView32 with checkboxes).
CheckListBox wraps the Win32 list-view common control in list mode with the
checkbox extended style: a single-column list where every item carries its own
checkbox that can be toggled independently of the selection. It exposes item
management, per-item checked state, single selection and delegate-based events
for check toggles and selection changes. Because it is a real native control,
it brings MSAA accessibility for free.
Win32 stores the per-item checkbox in the "state image" bits of the item state
(mask LVIS_STATEIMAGEMASK): state-image index 1 means unchecked and index 2
means checked.
Native checked list box (SysListView32 with checkboxes).
CheckListBox wraps the Win32 list-view common control in list mode with the checkbox extended style: a single-column list where every item carries its own checkbox that can be toggled independently of the selection. It exposes item management, per-item checked state, single selection and delegate-based events for check toggles and selection changes. Because it is a real native control, it brings MSAA accessibility for free.
Win32 stores the per-item checkbox in the "state image" bits of the item state (mask LVIS_STATEIMAGEMASK): state-image index 1 means unchecked and index 2 means checked.