🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Windows of Fixed Size (was Re: Iconic Windows)

#3225
From: Barry Press
Date: Thu, 13 Jun 1991 16:16
12 lines
1231 bytes
In article <1991Jun12.215651.1313@ssd.kodak.com> thomas@ssd.kodak.com (Thomas B. Kinsman (37681)) writes:
>   Closely related problem:  How do you write an application that is the same
>size, except when iconified?  Is it just processing WM_GETMINMAXINFO, or is
>there more to it?

What I do is cheat (?!).  You can do this:

1.	Give the right sizes when you call CreateWindow.
2.	Intercept WM_SIZE and change values to what you want.

-- 
Barry Press                                 Internet: press@venice.sedd.trw.com
Technical Details
Message-ID: <1125@venice.SEDD.TRW.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!elroy.jpl.nasa.gov!aero-c!gumby.dsd.trw.com!trwind!venice!press
References: <1991Jun12.131526.207@minyos.xx.rmit.oz.au> <1991Jun12.193240.22429@athena.mit.edu> <1124@venice.SEDD.TRW.COM> <1991Jun12.215651.1313@ssd.kodak.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!elroy.jpl.nasa.gov!aero-c!gumby.dsd.trw.com!trwind!venice!press
From: press@venice.SEDD.TRW.COM (Barry Press)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Windows of Fixed Size (was Re: Iconic Windows)
Keywords: ICONIC WM_GETMINMAXINFO WM_SIZE
Message-ID: <1125@venice.SEDD.TRW.COM>
Date: 13 Jun 91 16:16:20 GMT
References: <1991Jun12.131526.207@minyos.xx.rmit.oz.au> <1991Jun12.193240.22429@athena.mit.edu> <1124@venice.SEDD.TRW.COM> <1991Jun12.215651.1313@ssd.kodak.com>
Reply-To: press@venice.sedd.trw.com (Barry Press)
Organization: TRW Systems Engineering & Development Division, Redondo Beach, CA
Lines: 12