🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2371

Changing fonts in edit controls

#2371
From: Wolfgang Schmitz (PA Richter)
Date: Wed, 27 Jan 1993 13:04
14 lines
1099 bytes
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
Technical Details
Message-ID: <1993Jan27.130447.1129@posthorn.informatik.uni-kl.de>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!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