Click to See Complete Forum and Search --> : Get The Window Font
wey97
Jan 28th, 2003, 01:35 PM
How to get the font of a window at runtime?
transcendental
Jan 28th, 2003, 02:36 PM
GetTextMetrics();
wey97
Jan 28th, 2003, 04:26 PM
Yes, but then I need an HFONT to use and you can't use
CreateFont(...) with a TEXTMETRIC because you don't have the
typeface name.
CornedBee
Jan 28th, 2003, 07:33 PM
The font of a window? Does a window have a font?
Some controls have fonts, use the WM_GETFONT message.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.