I'd like to change the font of a few dialogs. The fonts of these dialogs are not to be changed using the ressource editor they are to be changed at runtime.
The dialogs in question are all based on ATL/WTL and they're declared pretty much like the following example:
class CDiscardErrorDlg :
public CDialogImpl<CDiscardErrorDlg>,
public CDialogResize<CDiscardErrorDlg>
{
}
My question is how to change the font for a whole CDialogImpl derived class. As far as I know, changing the DLGTEMPLATE is the way to go. But I have no idea on how to achieve that!?! Where do I have access to DLGTEMPLATE's? Is CDialogImpl the correct class to solve my problem?
Do you have an idea or web reference which might help me on that problem?