Using a list control on a dialog, I have created (via the Class Wizard) a member variable (Control type = CListCtrl), but I keep getting the following error:-
c:\Demo4\DlgData.cpp(612): error C2228: left of '.InsertColumn' must have class/struct/union type.
This member variable is not created correctly as I dont get the structure when I type m_MtList. in the code.
Is this a bug in Visual Studio.
I have (working) a ListCtrl in another dialog working OK, and have used that to check this one, but dont understand whats wrong?
Sweep
c:\Demo4\DlgData.cpp(612): error C2228: left of '.InsertColumn' must have class/struct/union type.
This member variable is not created correctly as I dont get the structure when I type m_MtList. in the code.
Is this a bug in Visual Studio.
I have (working) a ListCtrl in another dialog working OK, and have used that to check this one, but dont understand whats wrong?
Sweep