Dump a CListCtrl
This snippet dumps the content of a CListCtrl in to a file. It also gets the number of columns in the list. int GetColumnsCount( CListCtrl * list ) { if( list != NULL ) { const CHeaderCtrl * pHeaderCtrl = (CHeaderCtrl*) list->GetDlgItem(0); if( pHeaderCtrl != NULL ) { return pHeaderCtrl->GetItemCount() [...]
