CDialog::OnSetFont

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.

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   WM_SETFONT, CWnd::SetFont