m_ListCtrl->Create(WS_CHILD|WS_VISIBLE|WS_BORDER|LVS_REPORT,RDlgList,this,10000);
DWORD dwStyle = m_ListCtrl->GetExtendedStyle();
dwStyle |= LVS_EX_FULLROWSELECT;
dwStyle |= LVS_EX_GRIDLINES;
m_ListCtrl->SetExtendedStyle(dwStyle);
m_ListCtrl->InsertColumn( 0 , _T("Num") , LVCFMT_LEFT ,50);
for (int i = 1 ; i < COLNUM; i++)
{
strListname.Format(_T("REsult %d"),i);
m_ListCtrl->InsertColumn( i , strListname , LVCFMT_LEFT ,100);
}
When COLNUM exceeds 347, the display immediately appears misplaced and the data behind 348 cannot be seen. How can I solve this problem
What I have tried:
i had try to new ctl,but it is not useful