MFC
Class CFontHolder
in AFXCTL.H
- class CFontHolder
CFontHolder - helper class for dealing with font objects
m_dwConnectCookie
protected DWORD m_dwConnectCookie;
m_pFont
public LPFONT m_pFont;
m_pNotify
protected LPPROPERTYNOTIFYSINK m_pNotify;
CFontHolder
public CFontHolder( LPPROPERTYNOTIFYSINK pNotify );
~CFontHolder
public ~CFontHolder();
GetDisplayString
public BOOL GetDisplayString( CString& strValue );
GetFontDispatch
public LPFONTDISP GetFontDispatch();
GetFontHandle
public HFONT GetFontHandle();
GetFontHandle
public HFONT GetFontHandle( long cyLogical, long cyHimetric );
InitializeFont
public void InitializeFont( const FONTDESC* pFontDesc = NULL, LPDISPATCH pFontDispAmbient = NULL );
QueryTextMetrics
public void QueryTextMetrics( LPTEXTMETRIC lptm );
ReleaseFont
public void ReleaseFont();
Select
public CFont* Select( CDC* pDC, long cyLogical, long cyHimetric );
SetFont
public void SetFont( LPFONT pNewFont );
SetFontNotifySink
public void SetFontNotifySink( LPPROPERTYNOTIFYSINK pNotify );