SystemCaptionFont.h
上传用户:zhoushen
上传日期:2022-06-15
资源大小:84k
文件大小: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