Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!uunet!bu.edu!polygen!jerry From: jerry@polygen.uucp (Jerry Shekhel) Newsgroups: comp.windows.ms.programmer Subject: Re: Windows of Fixed Size (was Re: Iconic Windows) Keywords: ICONIC WM_GETMINMAXINFO WM_SIZE Message-ID: <1140@stewart.UUCP> Date: 17 Jun 91 16:23:33 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> <1125@venice.SEDD.TRW.COM> Reply-To: jerry@stewart.UUCP (Jerry Shekhel) Organization: Polygen Corporation, Waltham, MA Lines: 29 <1125@venice.SEDD.TRW.COM> press@venice.sedd.trw.com (Barry Press) 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. > I just create my window without the sizing border or maximize button. Does this not work for you? > >Barry Press Internet: press@venice.sedd.trw.com > -- +-------------------+----------------------+---------------------------------+ | JERRY J. SHEKHEL | POLYGEN CORPORATION | When I was young, I had to walk | | Drummers do it... | Waltham, MA USA | to school and back every day -- | | ... In rhythm! | (617) 890-2175 | 20 miles, uphill both ways. | +-------------------+----------------------+---------------------------------+ | ...! [ princeton mit-eddie bu sunne ] !polygen!jerry | | jerry@polygen.com | +----------------------------------------------------------------------------+