Click to See Complete Forum and Search --> : How do I change FormView size when its frame windows is resized
KyungDong Song
April 23rd, 1999, 01:02 AM
I use FormView in MDIChildWnd.
I want to resize original size of FormView (in desing time size) when MDIChildWnd window is resized.
Please help me how to do it.
klussier
April 23rd, 1999, 03:17 AM
The best way I've seen so far is Hans Buhler's "Dynamic child window repositioning" (http://www.codeguru.com/advancedui/cdxCDynamicControlsManager.shtml). This is some GREAT stuff...
Kevin Lussier
klussier@home.com
Dan O'Brien
April 23rd, 1999, 06:45 AM
I haven't tried to do this since VC 1.5, but what I remember is that you can resize the view, but the dialog template is a fixed size. I believe what we did was make the color of the view window the same as the template background so you couldn't tell where the template stopped and the view window started. Resizing the window too small, on the other hand, caused controls to be hidden. We tried WM_GETMINMAXINFO to prevent the window from being sized too small.
Gary Grant
April 23rd, 1999, 07:09 AM
Go to http://www.nanocorp.com and check out their NSViews library (it's free and you get the source).
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.