home     download     screen shots     bugs     mailing list     example output     generated MFC docs     help     tools and utilities


 Overview   Project   Class   Tree   Index 
MFC Class Library
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

MFC
Class CDialogTemplate

   in AFXPRIV.H

class CDialogTemplate

CDialogTemplate


Field Summary
 BOOL m_bSystemFont
          
 DWORD m_dwTemplateSize
          
 HGLOBAL m_hTemplate
          
 
Constructor Summary
CDialogTemplate( HGLOBAL hGlobal )
          
CDialogTemplate( const DLGTEMPLATE* pTemplate = NULL )
          
~CDialogTemplate()
          
 
Method Summary
 HGLOBAL Detach()
          
 static BOOL AFX_CDECL GetFont( const DLGTEMPLATE* pTemplate, CString& strFaceName, WORD& nFontSize )
          
 BOOL GetFont( CString& strFaceName, WORD& nFontSize ) const
          
protected static BYTE* AFX_CDECL GetFontSizeField( const DLGTEMPLATE* pTemplate )
          
 void GetSizeInDialogUnits( SIZE* pSize ) const
          
 void GetSizeInPixels( SIZE* pSize ) const
          
protected static UINT AFX_CDECL GetTemplateSize( const DLGTEMPLATE* pTemplate )
          
 BOOL HasFont() const
          
 BOOL Load( LPCTSTR lpDialogTemplateID )
          
 BOOL SetFont( LPCTSTR lpFaceName, WORD nFontSize )
          
 BOOL SetSystemFont( WORD nFontSize = 0 )
          
protected BOOL SetTemplate( const DLGTEMPLATE* pTemplate, UINT cb )
          
 

Field Detail

m_bSystemFont

public BOOL m_bSystemFont;

m_dwTemplateSize

public DWORD m_dwTemplateSize;

m_hTemplate

public HGLOBAL m_hTemplate;


Constructor Detail

CDialogTemplate

public CDialogTemplate( HGLOBAL hGlobal );

CDialogTemplate

public CDialogTemplate( const DLGTEMPLATE* pTemplate = NULL );

~CDialogTemplate

public ~CDialogTemplate();


Method Detail

Detach

public HGLOBAL Detach();

GetFont

public static BOOL AFX_CDECL GetFont( const DLGTEMPLATE* pTemplate, CString& strFaceName, WORD& nFontSize );

GetFont

public BOOL GetFont( CString& strFaceName, WORD& nFontSize ) const;

GetFontSizeField

protected static BYTE* AFX_CDECL GetFontSizeField( const DLGTEMPLATE* pTemplate );

GetSizeInDialogUnits

public void GetSizeInDialogUnits( SIZE* pSize ) const;

GetSizeInPixels

public void GetSizeInPixels( SIZE* pSize ) const;

GetTemplateSize

protected static UINT AFX_CDECL GetTemplateSize( const DLGTEMPLATE* pTemplate );

HasFont

public BOOL HasFont() const;

Load

public BOOL Load( LPCTSTR lpDialogTemplateID );

SetFont

public BOOL SetFont( LPCTSTR lpFaceName, WORD nFontSize );

SetSystemFont

public BOOL SetSystemFont( WORD nFontSize = 0 );

SetTemplate

protected BOOL SetTemplate( const DLGTEMPLATE* pTemplate, UINT cb );

 Overview   Project   Class   Tree   Index 
MFC Class Library
CppDoc v2.3.1
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD