Hi
- Add a ListBox to your dialog box
- Modify its properties: in the 'Style' tab, select 'Owner Draw' as fixed and check 'Has Strings'
- Use class wizard to build a variable for the Listbox. Say you call it m_List
- Modify the m_List declaration like this:
CCheckListBox m_List;
- Add some code to populate the listbox:
m_List.AddString( "Item 0"

;
m_List.AddString( "Item 1"

;
m_List.AddString( "Item 2"

;
m_List.AddString( "Item 3"

;
- To get the checked item(s), use code like this:
for ( int nItem = 0; nItem < m_List.GetCount(); nItem++)
{
if ( m_List.GetCheck( nItem))
{
CString str;
str.Format( "Item %d is Checked ", nItem);
AfxMessageBox( str);
}
}
HTH
Thierry
BTW: read the doc for additional info about CCheckListBox class ...