Windows C++ Library
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
CLogFont Class Reference

#include <LogFont.hpp>

List of all members.

Public Types

enum  FontFormat { FMT_MINIMAL = 2, FMT_SHORT = 6, FMT_FULL = 14 }

Public Member Functions

 CLogFont ()
 CLogFont (HFONT hFont)
 ~CLogFont ()
 CLogFont (const tchar *pszFace, long nHeight)
 Construction from a face name and height in pixels.
bool Select (const CWnd &rParent)
CString Format (FontFormat eFormat) const

Static Public Member Functions

static bool Parse (const tchar *pszFont, CLogFont &oLogFont)

Protected Member Functions

void Initialise ()
 Common construction.

Member Enumeration Documentation

Enumerator:
FMT_MINIMAL 
FMT_SHORT 
FMT_FULL 

Constructor & Destructor Documentation

CLogFont::CLogFont ( HFONT  hFont)
CLogFont::CLogFont ( const tchar *  pszFace,
long  nHeight 
)

Construction from a face name and height in pixels.


Member Function Documentation

bool CLogFont::Select ( const CWnd rParent)
CString CLogFont::Format ( FontFormat  eFormat) const
bool CLogFont::Parse ( const tchar *  pszFont,
CLogFont oLogFont 
) [static]
void CLogFont::Initialise ( ) [protected]

Common construction.


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