Article View: comp.windows.ms.programmer
Article #2592HOW CAN I GET COURIER (ie ANSI_FIXED_FONT) IN A LISTBOX ?????
From: Norbert Unterberg
Date: Wed, 08 May 1991 16:46
Date: Wed, 08 May 1991 16:46
12 lines
1232 bytes
1232 bytes
> I need to get a listbox to display it's contents in the > COURIER font. Although the SDK clearly shows how to select > font stock objects and print corresponding text output > via TextOut and other device oriented functions, I cannot > seem to get a listbox to display it's contents in a > font other than the system font. Just send a WM_SETFONT message to the listbox, with the wParam set to the new font's HFONT. Norbert
Technical Details
Message-ID:
<1410449505@p4.f36.n245.z2.fidonet.org>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!unido!rwthinf!slcdec!hippo!f1.n6000.z2.fidonet.org!p4.f36.n245.z2.fidonet.org!Norbert_UnterbergReferences:
<6310@vela.acs.oakland.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!unido!rwthinf!slcdec!hippo!f1.n6000.z2.fidonet.org!p4.f36.n245.z2.fidonet.org!Norbert_Unterberg From: Norbert_Unterberg@p4.f36.n245.z2.fidonet.org (Norbert Unterberg) Newsgroups: comp.windows.ms.programmer Subject: HOW CAN I GET COURIER (ie ANSI_FIXED_FONT) IN A LISTBOX ????? Message-ID: <1410449505@p4.f36.n245.z2.fidonet.org> Date: 8 May 91 16:46:00 GMT References: <6310@vela.acs.oakland.edu> Reply-To: Norbert_Unterberg%p4.f36.n245.z2@hippo.dfv.rwth-aachen.de (Norbert Unterberg) Organization: Point of SoftStream, Dortmund, Germany Lines: 13 Comment-To: Robert_D._Thompson@f1.n6000.z2.fidonet.org (Robert D. Thompson)