🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to limit the resizing function of a window?

#3314
From: Song-Yu Yang
Date: Thu, 20 Jun 1991 02:06
21 lines
1261 bytes
Hi,

I am new to the Microsoft Windows programming.

I am writing an application program. I would like to limit the resizing
function of some windows to their minimum and maximum sizes. I mean the
way like X Window size hints to retrict the minimum and maximum sizes of
the windows. The user cannot resize the windows smaller than the specified
minimum size, neither can they resize the windows larger than the specified
maximum size, even in the dragging mode. The MSDOS window demonstrates this
when Windows running under enhanced mode.

I know there is a WM_GETMINMAXINFO may solve this problem, but the
documentation is so poor written. Could anybody who knows the trick tellsme how to do this?

Thanks in advance!

Song-Yu Yang
------------
song@cadence.com
Technical Details
Message-ID: <1991Jun20.020607.7564@cadence.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cadence!cds855.Cadence.COM!song

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cadence!cds855.Cadence.COM!song
From: song@cds855.Cadence.COM (Song-Yu Yang)
Newsgroups: comp.windows.ms.programmer
Subject: How to limit the resizing function of a window?
Message-ID: <1991Jun20.020607.7564@cadence.com>
Date: 20 Jun 91 02:06:07 GMT
Sender: usenet@cadence.com (USENET News)
Reply-To: song@cds855.Cadence.COM (Song-Yu Yang)
Organization: Cadence Design Systems, San Jose
Lines: 21