Path: utzoo!news-server.csri.toronto.edu!rutgers!hsdndev!wuarchive!m.cs.uiuc.edu!roundup.crhc.uiuc.edu!ux1.cso.uiuc.edu!yoyodyne!koziol From: koziol@yoyodyne.ncsa.uiuc.edu (Quincey Koziol) Newsgroups: comp.windows.ms.programmer Subject: Limiting size of a window when resizing Summary: resizing Keywords: resize, control Message-ID: <1991Mar11.211941.481@ux1.cso.uiuc.edu> Date: 11 Mar 91 21:19:41 GMT Sender: koziol@ncsa.uiuc.edu Organization: National Center for Supercomputing Applications at Urbana Illinois Lines: 14 Hi, Is there any way to limit the size a window may be resized to? I have tried trapping the WM_GETMINMAXINFO message, but either I am not modifying the data structure which lParam points to correctly, or this is merely an informative (as the name means, I suppose...) message, which doesn't really do anything. I know this can be done because the DOS windows in 386 mode won't resize larger than their max correct size. If someone could give me a hand I would greatly appreciate it.. Quincey Koziol Programmer NCSA koziol@ncsa.uiuc.edu