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

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