Export (0) Print
Expand All

CDialog::OnSetFont 

Specifies the font a dialog-box control will use when drawing text.


virtual  void OnSetFont(
   CFont* pFont 
);

Parameters

pFont

Specifies a pointer to the font. Used as the default font for all controls in this dialog box.

The dialog-box control will use the specified font as the default for all dialog-box controls.

The dialog editor typically sets the dialog-box font as part of the dialog-box template resource.

Community Additions

ADD
Show:
© 2014 Microsoft