List Control
List control provided by MFC is very useful. See here for simple usage of list control as report.
Create a dialog based application. Add list control to your dialog. Go to properties and ->Style->View->Select Report from Combo box.
Create a member variable for list control using class wizard available in Visual C++ 6.0.
lets say variable name m_List.
Creating column:
m_list.InsertColumn(0,"Heading",LVCFMT_LEFT,100);
m_list.InsertColumn(0,"Heading2",LVCFMT_LEFT,100);
Creating new item:
m_list. InsertItem(0,_T("c++"));
m_list.SetItemText(0,_T("Language"));
m_list. InsertItem(1,_T("vc++"));
m_list.SetItemText(0,_T("windows c++ compiler"));
List control can be used as a simple Table control
See my website for some intersting MFC projects:
http://mfc.neuralnetworks.in
http://neuralnetworks.in/windowsprogramming.html/