?? cautofont.h
字號:
//
// CAutoFont.h
//
#ifndef __H_CAutoFont__
#define __H_CAutoFont__
class CAutoFont
{
private:
HDC mDC;
LOGFONT mLogFont;
HFONT mNewFont;
HFONT mOldFont;
private:
void DefaultFont(void);
public:
CAutoFont();
CAutoFont(LOGFONT inFont);
~CAutoFont();
void CreateFont(LOGFONT inFont);
void CreateFont(const char * inFaceName);
void CreateStockObject(int inIndex);
void SelectToDC(HDC inTargetDC);
void RestoreToDC(void);
};
#endif // __H_CAutoFont__
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -