wilcox@wucs1.wustl.edu (Don Wilcox) (03/25/91)
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.
hans@pine.circa.ufl.edu (Hans van Oostrom) (03/26/91)
In article <1991Mar25.145302.27434@cec1.wustl.edu>, wilcox@wucs1.wustl.edu (Don Wilcox) writes... >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. Startup the sdk help. Click on Messages Overview. Click on Window-Management messages Click on WM_GETMINMAXINFO Read... I find the on-line help much easier to use than the paper one. Hans van Oostrom PO Box J-254, JHMHC hans@ufpine (BITNET) Gainesville, FL 32601, USA hans@pine.circa.ufl.edu (INTERNET) >>> Hoe ver je ook gaat, overal zie je landgenoten <<<