home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!psinntp!panix!os2man
- From: os2man@panix.com (Larry Salomon Jr.)
- Subject: Re: Limiting behavior of sizing border
- Message-ID: <1992Dec23.204011.26686@panix.com>
- Date: Wed, 23 Dec 1992 20:40:11 GMT
- References: <ofBpSPK00WBL01sKsg@andrew.cmu.edu>
- Organization: PANIX Public Access Unix, NYC
- Lines: 21
-
- In <ofBpSPK00WBL01sKsg@andrew.cmu.edu> sl31+@andrew.cmu.edu (Stephen M. Lacy) writes:
-
-
- >I've noticed some applications that make restrictions on the size of a
- >window while you resize it. For example, when you have an OS/2 CMD.EXE
- >window open, and you go to resize it, during the resize, the resize
- >border will only go to multiples of the character size, if you know what
- >I mean. I want to be able to do this in one of my programs, how is it
- >done?
-
- Subclass the frame and intercept the WM_QUERYTRACKINFO message.
-
- First call the old frame proc, then initialize the appropriate fields to the
- limiting sizes.
-
- Cheers,
- Q
- --
- "If you choose not to decide, you | "My other body is in the shop" - seen
- still have made a choice" - Rush | on a T-shirt
- ------------------------------------------------------------------------
-