home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / misc / 5410 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.0 KB  |  27 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!uklirb!posthorn!vier.informatik.uni-kl.de!schmitz
  3. From: schmitz@vier.informatik.uni-kl.de (Wolfgang Schmitz (PA Richter))
  4. Subject: Changing fonts in edit controls
  5. Message-ID: <1993Jan27.130447.1129@posthorn.informatik.uni-kl.de>
  6. Sender: news@posthorn.informatik.uni-kl.de (News system account)
  7. Nntp-Posting-Host: vier.informatik.uni-kl.de
  8. Organization: University of Kaiserslautern, Germany
  9. Date: Wed, 27 Jan 1993 13:04:47 GMT
  10. Lines: 15
  11.  
  12.  
  13. I need to change the font used in an edit window. I
  14. trapped the WM_CTLCOLOR message and simply mapped
  15. a different font into the device context provided
  16. by this message. Unfortunately this works only
  17. half way. Although the edit window displays it's
  18. content using the new font, there seems to be
  19. something messed up with the position of the caret.
  20.  
  21. Any suggestions?
  22.  
  23.  
  24. Wolfgang
  25. schmitz@informatik.uni-kl.de
  26.  
  27.