🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1256

Re: Preventing Windows from resizing windows

#1256
From: Alan Phillips
Date: Fri, 08 Feb 1991 15:43
9 lines
984 bytes
>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.
Technical Details
Message-ID: <1177@dcl-vitus.comp.lancs.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!dcl-cs!alan
References: <16477.27ade4f3@ul.ie> <1991Feb7.190951.7723@sunee.waterloo.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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