Article View: comp.os.os2.programmer
Article #424Which message on Font Change.
From: Stephen M. Lacy
Date: Wed, 22 Jul 1992 12:48
Date: Wed, 22 Jul 1992 12:48
19 lines
1546 bytes
1546 bytes
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. Steve "Emma, please stop chewing on my purple love seat."
Technical Details
Message-ID:
<wePQaHa00Vp94KSF1E@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!sdd.hp.com!hp-cv!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!sl31+Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!sdd.hp.com!hp-cv!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!sl31+ From: sl31+@andrew.cmu.edu (Stephen M. Lacy) Newsgroups: comp.os.os2.programmer Subject: Which message on Font Change. Message-ID: <wePQaHa00Vp94KSF1E@andrew.cmu.edu> Date: 22 Jul 92 12:48:19 GMT Organization: Sophomore, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA Lines: 19