共用方式為


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

Reference

COleControl Class

Hierarchy Chart

COleControl::GetFont

COleControl::InternalGetText

COleControl::OnFontChanged

Other Resources

COleControl Members