CComControlBase::GetAmbientFont

检索指向容器的环境 IFont 接口。

HRESULT GetAmbientFont(
   IFont** ppFont 
);

参数

  • ppFont
    为容器的环境 IFont 接口的指针。

返回值

一个标准HRESULT值。

备注

如果属性为 NULL,指针是 NULL。如果指针不是 NULL,调用方必须释放指针。

要求

Header: atlctl.h

请参见

参考

CComControlBase选件类