Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!ncar!boulder!ccncsu!handel.CS.ColoState.Edu!mcjilton From: mcjilton@handel.CS.ColoState.Edu (charles mar mcjilton) Newsgroups: comp.windows.ms Subject: Fixed Fonts in Windows 3.00 Summary: Any way to do it? Keywords: Fonts, proportional, editboxes Message-ID: <8408@ccncsu.ColoState.EDU> Date: 9 Aug 90 22:38:39 GMT Sender: news@ccncsu.ColoState.EDU Reply-To: mcjilton@handel.UUCP (charles mar mcjilton) Organization: Colorado State University, Fort Collins, CO 80523 Lines: 18 We're developing an application under Windows 3.00, and were having some problems moving from 2.11 to 3.0. Most of these problems are because we were using edit boxes for getting things like state, and under the proportional fonts we can get 4 'l's in it, but not something wide like 'CO'. We were wondering if anyone has successfully set the application device context to the system fixed font used when Windows 3.0 runs a Windows 2.11 application. The fixed font is provided for compatability with existing 2.11 apps, but we haven't found any way to use it. Failing that we'd like to know if you have any suggestions on setting the device context font for a dialog box to the system fixed font. The resource compiler has a font command, but it only lets you access it by the "Courier", and "times Roman" type of convention. It doesn't appear to use the OEM_FIXEDFONT_ANSI, etc keywords defined in windows.h. Thanks for any help you can give us.