共用方式為


COleControl::SetFont

Sets the stock Font property of your control.

void SetFont(
   LPFONTDISP pFontDisp 
);

Parameters

  • pFontDisp
    A pointer to a Font dispatch interface.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::GetFont

COleControl::InternalGetText

COleControl::OnFontChanged