2010/03/26

리스트 컬럼크기를 자동으로 설정하기


CHeaderCtrl* pHeader = m_ListCtrl.GetHeaderCtrl();
int numcol = pHeader->GetItemCount();

for (int col = 0; col < numcol; col++)
{
m_ListCtrl.SetColumnWidth(col,LVSCW_AUTOSIZE);
}
<

Original Post : http://neodreamer-dev.tistory.com/393

No comments :

Post a Comment