When I create eg. push buttons, their captions are displayed using a SYSTEM_FIXED_FONT. The buttons look really ugly, like in Win 3.1. I want to change the font to DEFAULT_GUI_FONT (i.e. 8 point MS Sans Serif) - how can I do that? Will SendMessage(pushbutton_handle,WM_SETFONT,(WPARAM) GetStockObject(DEFAULT_GUI_FONT),0) work?
(I'm talking about buttons created by a call to CreateWindow, not about those created in Developer studio as a part of a dialog box):confused: