SystemCaptionFont.h
上传用户:kssdz899
上传日期:2007-01-08
资源大小:79k
文件大小:1k
- #ifndef SYSTEMCAPTIONFONT_H
- #define SYSTEMCAPTIONFONT_H
- //////////////////////////////////////////////////////////////////////////////////////////
- // CSystemCaptionFont provides self-contained access to the default system caption font.
- //
- // operator() returns a CFont pointer to a font created on demand.
- //
- // The destructor deletes the font object attached to CSystemCaptionFont.
- //
- class CSystemCaptionFont
- {
- public:
- CSystemCaptionFont() {}
- ~CSystemCaptionFont();
- CFont* operator()();
- private:
- void CreateFont();
- CFont m_Font;
- };
- #endif