I have a CListView view in my SDI application... the problem is that when the main window is maximized, the attached CListCtrl is resized to occupy the whole view area (and that is what I want).. but.. when the main window is resized (to normal state, for example), and after resizing columns widths, it seems that the CListCtrl isn't resized so the horizontal scroll bar is shown... How can I avoid that?
This is my ClistView OnSize event
// CTransView message handlers
void CTransView::OnSize(UINT nType, int cx, int cy)
CListView::OnSize(nType, cx, cy);
CListCtrlEx& ListaMarcas = (CListCtrlEx&)GetListCtrl();
Where CListCtrlEx is a customized CListCtrl.
I hope you can help me...
Thanks a lot in advance...