
Resize a Control during Runtime
Thomas,
Quote:
> I use a CListCtrl on my CView-Class. Now I want to resize the Control when
> the CView-Class was resized. I wrote my code into the CView::OnResize
> function. I use the Control::SetWindowPos function, but the conrol doesn't
> react. Is there another way to resize ???
Are you sure you are using the correct flags for SetWindowPos()? (like not
using SWP_NOSIZE).
BTW, you might find MoveWindow() simpler to use...
--
Tomas Restrepo
http://members.xoom.com/trestrep