Share via


CDialog::OnSetFont

virtualvoidOnSetFont(CFont*pFont);

Parameters

pFont

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

Remarks

Specifies the font a dialog-box control will use when drawing text. 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.

CDialog OverviewClass MembersHierarchy Chart

See Also   , CWnd::SetFont