Newsgroups: comp.windows.ms.programmer Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!cec2!news From: wilcox@wucs1.wustl.edu (Don Wilcox) Subject: Window sizing question Message-ID: <1991Mar25.145302.27434@cec1.wustl.edu> Organization: Washington University, St. Louis MO Distribution: na Date: Mon, 25 Mar 91 14:53:02 GMT I have a question. I am creating a window which I is resizeable, and I would like to limit the maximum size that the user can increase to. While I know that I can just intercept WM_SIZE messages and shrink the window if the user makes it too big, I would rather find a mechanism which would allow me to keep the outline rectangle from growing while the user resizes the window. Something like WM_QUERYOPEN which allows me to tell Windows, "Don't let this window grow any larger than X". If the answer is RTFM, my apologies, I have spent the whole weekend looking up the way to do things, and I have "manual burnout." Thanks. Don sig files are too expensive for a grad student's budget.