I have a CPropertySheet launched from the CMainFrame toolbar containing 3 CPropertyPages. On (CPropertySheet.DoModal()==IDOK) I am trying to access the data in the CListCtrl located on one of my CPropertyPages without success. I can access the data from all the edit boxes from all the pages, but the CListCtrl is eluding me! I get an assert on this line:
Does anyone have any thoughts?
Code:
CListCtrl* pListCtrl = (CListCtrl*) iniConfig->counsCdSetPropPg.GetDlgItem(IDC_DEL_COUNS_CODE_LIST);