home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / os2 / programm / 3728 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.5 KB

  1. Path: 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+
  2. From: sl31+@andrew.cmu.edu (Stephen M. Lacy)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Which message on Font Change.
  5. Message-ID: <wePQaHa00Vp94KSF1E@andrew.cmu.edu>
  6. Date: 22 Jul 92 12:48:19 GMT
  7. Organization: Sophomore, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
  8. Lines: 19
  9.  
  10.  
  11.     I've been typing in some more of the sample progrmams from the book
  12. that I recently got, and my question is this:  I'm using the function
  13. GpiCharStringAt, and just for the hell of it, I brought up the "Font
  14. Palette" and dragged a different font to my window to see what would
  15. happen.  There was no visible change, but if I then "invalidated" some
  16. portion of the window, that portion, when refreshed, came back in the
  17. new font.  My question is:  What message is sent to my window procedure
  18. when I drag a new font to the window?  I tried a couple of the more
  19. obvious ones, I don't remember their names right now, something about
  20. SYSVALUE and COLORCHANGE, I'm not sure.  Also, I'm assuming that this is
  21. the way these features work, if they're not, let me know what the
  22. standard way of dealing with them is.  I've also tried dragging a new
  23. color to the window, and it seems to make no difference at all.  Is
  24. there a message that also goes with a color change?  Some pseudo-code
  25. would also be helpful.  Thanks.  
  26.  
  27. Steve
  28. "Emma, please stop chewing on my purple love seat."
  29.