List boxes with check boxes

How do I program a list box with check boxes in each of the items.Where can I get useful info or sample code demonstrating this?
chezhiyanAsked:
Who is Participating?
 
cyrilbdtConnect With a Mentor Commented:
see CCheckListBox class. I think that is what you want

0
 
chezhiyanAuthor Commented:
cyrilbdt,
  I agree with you,but I don't find a checklistbox in the "controls" listed in the resource editor of VC++6.0. How do I now insert a checklistbox into my dialog box before I proceed to use the CCheckList class?

0
 
cyrilbdtCommented:
You can also use CListCtrl in editor and then use macors
ListView_SetExtendedListViewStyle() with LVS_EX_CHECKBOXES
0
 
chezhiyanAuthor Commented:
cyrilbdt,
  I agree with you,but I don't find a checklistbox in the "controls" listed in the resource editor of VC++6.0. How do I now insert a checklistbox into my dialog box before I proceed to use the CCheckList class?

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.