Share via


CFontHolder::SetFont

Releases any existing font and connects the CFontHolder object to an IFont interface.

void SetFont(
   LPFONT pNewFont 
);

Parameters

  • pNewFont
    Pointer to the new IFont interface.

Requirements

Header: afxctl.h

See Also

Reference

CFontHolder Class

Hierarchy Chart

CFontHolder::ReleaseFont

Other Resources

CFontHolder Members