Article View: comp.windows.ms
Article #6287Re: Windows 3.0 dialog font question.
From: Andy Fraley
Date: Thu, 25 Oct 1990 20:30
Date: Thu, 25 Oct 1990 20:30
7 lines
625 bytes
625 bytes
To change a control font, such as the font used by a list box, at run-time,
try the following:
hFont = GetStockObject( SYSTEM_FIXED_FONT );
SendDlgItemMessage( hDlg, ID_LISTBOX, WM_SETFONT, hFont, 0L );
-ASF
Technical Details
Message-ID:
<6120006@hprnd.rose.hp.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpda!hpcupt1!hprnd!fraleyReferences:
<1990Oct15.181205.6524@cec1.wustl.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpda!hpcupt1!hprnd!fraley From: fraley@hprnd.rose.hp.com (Andy Fraley) Newsgroups: comp.windows.ms Subject: Re: Windows 3.0 dialog font question. Message-ID: <6120006@hprnd.rose.hp.com> Date: 25 Oct 90 20:30:49 GMT References: <1990Oct15.181205.6524@cec1.wustl.edu> Organization: HP Roseville Networks Division Lines: 7