Ok, just found out that using DEFAULT_GUI_FONT is the wrong thing to actually use as a default GUI font…. there’s a NONCLIENTMETRICS structure that I’ve been told to use instead, but I’m not sure which of the fonts returned there I should use — i.e. what’s the difference between the status font, message font, and caption fonts, and when should I use each?
Ok, just found out that using DEFAULT_GUI_FONT is the wrong thing to actually use
Share
The description is pretty clear, isn’t it?
Use the menu fonts for drop-down menus, use the status font for status lines, use the message font for message boxes.
Edit: The description of lfCaptionFont and lfSmCaptionFont is unfortunately self-referential:
The caption of a window is the rectangle above the client area, where the window title and the close buttons are displayed. This uses the caption font. The message font is used in message boxes.