Freigeben über


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

Concepts

CFontHolder Class

CFontHolder Members

Hierarchy Chart

CFontHolder::ReleaseFont