المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : add column into control CListCtrl



C++ Programming
04-06-2009, 03:23 PM
How do to add column into control CListCtrl?
supouse send message to Microsoft.

there are all lines uncorrects:
m_pListCtrl->InsertColumn(0, L"Heading 1",LVCFMT_LEFT, 100);
m_pListCtrl->InsertColumn(1, L"Heading 2",LVCFMT_LEFT, 100,-1);
m_pListCtrl->InsertColumn(6, L"Heading 2",LVCFMT_LEFT, 100,-1);
m_pListCtrl->InsertColumn(5, L"Heading 2",LVCFMT_LEFT, 100,-1);