Resizing Controls inside a form view

I have one form view with only one listbox control - CCSMView.
My control variable is m_Panel.
How can i automatically resize the list box to be the size of the child window?  
jmartins71Asked:
Who is Participating?
 
plarocheConnect With a Mentor Commented:
From CCSMView::OnSize()

CRect   clientRect;
GetClientRect(clientRect);
m_Panel.MoveWindow(clientRect);

This should work.
0
 
jmartins71Author Commented:
Thanks plaroche
0
All Courses

From novice to tech pro — start learning today.