Hi All,
I create a SDI formView project with 3 child dialog toggling. Basically, i'm using SW_SHOW and SW_HIDE to switch. The dialogs were created in the view class. I map a CListCtrl m_UpHistoryListobject to a resource in the DoDataExhange; DDX_Control(pDx, IDC_UPPERALARMHISTORYLIST, m_UpHistoryList) in one of the dialog. Now the error i get
Error1error C2248: 'CObject::operator =' : cannot access private member declared in class 'CObject'c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxwin.h1936PCBased when i copied the Clistrl object to another CListCtrl object in the CDocument.
CPCBasedDoc* pDoc = ((CPCBasedApp*)AfxGetApp())->m_pDoc;
pDoc->m_clonedList = m_m_UpHistoryList;
Please enlightenment me, anyone. Where did i go wrong?
adam