The default dialog box font in Windows is MS Shell Dlg.
I don't like it, because it's not correct.
It's easy to manually change the font of a single dialog item, but how do I display a dialog box with the "correct" system font (from lfMessageFont
) applied to all of its controls by default (not manually) when calling DialogBox
(or using ATL/WTL)?
Note:
The reason I've said "not manually" so many times is that I am looking for a solution better than looping through everything with EnumChildWindows
(or the like). Does one exist?