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: Minimized Dialog Box weirdness
- Message-ID: <C0CFyn.3Mz@panix.com>
- Organization: PANIX Public Access Unix, NYC
- References: <1993Jan04.131100.20139@kub.nl>
- Date: Mon, 4 Jan 1993 19:11:11 GMT
- Lines: 23
-
- In <1993Jan04.131100.20139@kub.nl> hoppie@kub.nl (Jeroen Hoppenbrouwers) writes:
-
- >Hello,
-
- >Does anybody know what an application that uses a dialog box is supposed
- >to do when the box is minimized by the user? When I do this, the box
- >dissapears and the icon appears, which is fine, but then the lower-left
- >corner of the dialog box is re-painted over the icon. I can capture
- >the MINMAXFRAME message which indicates this minimize event, but:
-
- >A) Should I turn off painting the box myself or should PM do this for me;
- >B) If I have to do it myself, what is the best way?
-
- Since dialog boxes were not meant to minimized, you'll need to trap the
- WM_MINMAXFRAME message and hide any child windows in the rectangle
- (0,0)-(SV_CXICON,SV_CYICON) if you're being minimized and show them if not.
-
- 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
- ------------------------------------------------------------------------
-