Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!dcl-cs!alan From: alan@comp.lancs.ac.uk (Alan Phillips) Newsgroups: comp.windows.ms.programmer Subject: Re: Preventing Windows from resizing windows Message-ID: <1177@dcl-vitus.comp.lancs.ac.uk> Date: 8 Feb 91 15:43:55 GMT References: <16477.27ade4f3@ul.ie> <1991Feb7.190951.7723@sunee.waterloo.edu> Reply-To: alan@comp.lancs.ac.uk (Alan Phillips) Organization: Department of Computing at Lancaster University, UK. Lines: 9 >In article <16477.27ade4f3@ul.ie> oreillyj@ul.ie writes: >I am using the MSC windows SDK. Is there any way of preventing Windows >from resizing the size of a particular application's window in response >to a resize request. I've done this in the past by catching the WM_GETMINMAXINFO message that gets sent whenever a window size is changing. Windows passes a struct that tells you what the new size is going to be, and you can alter this to your own values.