How to get the font of a window at runtime?
Printable View
How to get the font of a window at runtime?
GetTextMetrics();
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.
The font of a window? Does a window have a font?
Some controls have fonts, use the WM_GETFONT message.