home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!decwrl!netcomsv!mork!daveb
- From: daveb@netcom.com (Dave Briccetti)
- Newsgroups: comp.os.os2.programmer
- Subject: Re: Which message on Font Change.
- Message-ID: <n2kmz5m.daveb@netcom.com>
- Date: 26 Jul 92 18:07:56 GMT
- Article-I.D.: netcom.n2kmz5m.daveb
- References: <wePQaHa00Vp94KSF1E@andrew.cmu.edu>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- Lines: 27
-
- sl31+@andrew.cmu.edu (Stephen M. Lacy) writes:
- :
- : I've been typing in some more of the sample progrmams from the book
- : that I recently got, and my question is this: I'm using the function
- : GpiCharStringAt, and just for the hell of it, I brought up the "Font
- : Palette" and dragged a different font to my window to see what would
- : happen. There was no visible change, but if I then "invalidated" some
- : portion of the window, that portion, when refreshed, came back in the
- : new font. My question is: What message is sent to my window procedure
- : when I drag a new font to the window? I tried a couple of the more
- : obvious ones, I don't remember their names right now, something about
- : SYSVALUE and COLORCHANGE, I'm not sure. Also, I'm assuming that this is
- : the way these features work, if they're not, let me know what the
- : standard way of dealing with them is. I've also tried dragging a new
- : color to the window, and it seems to make no difference at all. Is
- : there a message that also goes with a color change? Some pseudo-code
- : would also be helpful. Thanks.
- :
- Did you look at WM_SETWINDOWPARAMS? The WNDPARAMS structure contains
- Presentation Parameter length and data pointer elements.
-
- --
-
- Dave Briccetti, Owner, Dave Briccetti & Associates
- OS/2 Developer/Consultant
- P.O. Box 1713
- Lafayette, CA 94549-7013
-