CComControl::GetAmbientFont

This method retrieves DISPID_AMBIENT_FONT, a pointer to the container’s ambient IFont dispatch interface.

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HRESULT GetAmbientFont( IFont** ppFont );