Windows C++ Library
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
CFont Class Reference

#include <Font.hpp>

List of all members.

Public Member Functions

 CFont ()
 CFont (int iID)
 CFont (const CLogFont &rLogFont)
 CFont (HFONT hFont, bool bOwn=false)
 CFont (const CFont &rhs)
 ~CFont ()
CFontoperator= (const CFont &rhs)
HFONT Handle () const
bool Create (int iID)
bool Create (const CLogFont &rLogFont)
void Create (HFONT hFont, bool bOwn=false)
bool Select (const CWnd &rParent)
CString Format (CLogFont::FontFormat eFormat) const

Static Public Member Functions

static bool Parse (const tchar *pszFont, CFont &oFont)

Protected Member Functions

void Release ()

Protected Attributes

HFONT m_hFont
bool m_bOwner

Constructor & Destructor Documentation

CFont::CFont ( int  iID)
CFont::CFont ( const CLogFont rLogFont)
CFont::CFont ( HFONT  hFont,
bool  bOwn = false 
)
CFont::CFont ( const CFont rhs)

Member Function Documentation

CFont & CFont::operator= ( const CFont rhs)
HFONT CFont::Handle ( ) const [inline]
bool CFont::Create ( int  iID)
bool CFont::Create ( const CLogFont rLogFont)
void CFont::Create ( HFONT  hFont,
bool  bOwn = false 
)
bool CFont::Select ( const CWnd rParent)
bool CFont::Parse ( const tchar *  pszFont,
CFont oFont 
) [static]
void CFont::Release ( ) [protected]

Member Data Documentation

HFONT CFont::m_hFont [protected]
bool CFont::m_bOwner [protected]

The documentation for this class was generated from the following files: