Setting a different font for an application
-
I'm looking for a way to set a user configurable font to my controls. I'm fine with the Windows default fonts, but our application uses a list control and is commonly displayed on an overhead projection screen and the default font is too small. I'd like to be able to provide a "Use Bold" or maybe just a standard font dialog and allow a user to select which font will be used application wide. It looks like Microsoft took out the ability to configure a default system font in Win2K and XP, so I'm not going to get to take the easy way out this time :/ One thing I've tried is to enumerate all of the controls on a dialog or window and call SetFont() but entry fields and date/time pickers will display things erroneously and the selection caret is off. I'm assuming there has to be a better way without having to owner draw every control. Any help is appreciated.