home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- 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
- From: schmitz@vier.informatik.uni-kl.de (Wolfgang Schmitz (PA Richter))
- Subject: Changing fonts in edit controls
- Message-ID: <1993Jan27.130447.1129@posthorn.informatik.uni-kl.de>
- Sender: news@posthorn.informatik.uni-kl.de (News system account)
- Nntp-Posting-Host: vier.informatik.uni-kl.de
- Organization: University of Kaiserslautern, Germany
- Date: Wed, 27 Jan 1993 13:04:47 GMT
- Lines: 15
-
-
- I need to change the font used in an edit window. I
- trapped the WM_CTLCOLOR message and simply mapped
- a different font into the device context provided
- by this message. Unfortunately this works only
- half way. Although the edit window displays it's
- content using the new font, there seems to be
- something messed up with the position of the caret.
-
- Any suggestions?
-
-
- Wolfgang
- schmitz@informatik.uni-kl.de
-
-