📄 bmpstatic.h
字号:
#if !defined(AFX_BMPSTATIC_H__DC6074A8_0B1B_471F_925C_DADDE3BD4071__INCLUDED_)
#define AFX_BMPSTATIC_H__DC6074A8_0B1B_471F_925C_DADDE3BD4071__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BmpStatic.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBmpStatic window
class CBmpStatic : public CStatic
{
private:
CDC m_BackgroundDC;
CFont m_txtFont;
int m_ImageID;
bool m_InitDC;
UINT m_TxtFormat;
// Construction
public:
CBmpStatic();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBmpStatic)
//}}AFX_VIRTUAL
// Implementation
public:
void SetTxtFont(int nFont);
void LoadBgBmp(int nBmpID);
virtual ~CBmpStatic();
// Generated message map functions
protected:
//{{AFX_MSG(CBmpStatic)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BMPSTATIC_H__DC6074A8_0B1B_471F_925C_DADDE3BD4071__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -