wizfontexamplestatic.h
来自「此书包含了大量的VC程序源代码,对于学习者来说是非常重要的,看后大家对VC将会有」· C头文件 代码 · 共 52 行
H
52 行
#if !defined(AFX_CWizFontExampleStatic_H__70AD4C44_8FDD_11D1_92BC_006097AEFD47__INCLUDED_)
#define AFX_CWizFontExampleStatic_H__70AD4C44_8FDD_11D1_92BC_006097AEFD47__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// WizFontExampleEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CWizFontExampleStatic window
class CWizFontExampleStatic : public CStatic
{
// Construction
public:
CWizFontExampleStatic();
// Attributes
public:
// Operations
public:
void SetFont (LPCTSTR fontname, int pp_size, BOOL bItal, BOOL bBold, BOOL bUnder);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWizFontExampleStatic)
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CWizFontExampleStatic();
// Generated message map functions
protected:
//{{AFX_MSG(CWizFontExampleStatic)
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
CFont m_Font; //字体
LOGFONT m_lf; //字体结构
CString m_strSample; //要显示的字符串
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CWizFontExampleStatic_H__70AD4C44_8FDD_11D1_92BC_006097AEFD47__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?