I have a CMDIChildWindow to which I have attached CFormView.
My CFormView is derived from a Dialog Resource which has
a ListControl. I am using the following code to Resize the FormView
MyFormView:: OnSize(UINT nType, int cx, int cy)
CFormView::OnSize(nType, cx, cy);
if (::IsWindow (m_MyListCtrl.GetSafeHwnd ()))
R | SWP_NOMOVE);
as i resize, the space between the ListControl and the form border keeps varing. I want to keep this border space constant
and change the Control size only. And also the scrollbar
sometimes appears and sometimes does not.
Please suggest me the dehaviour of scroll bar
and also how to keep the border (space between list control and the edge of the formview)constant.