mdibackground.h

来自「《MFC经典问答》pdf格式 拿出来大家共享一下」· C头文件 代码 · 共 46 行

H
46
字号
// MdiBackground.h : header file
//

#ifndef __MDI_BACKGROUND_H__
#define __MDI_BACKGROUND_H__

/////////////////////////////////////////////////////////////////////////////
// CMdiBackground window

class CMdiBackground : public CWnd
{
// Construction
public:
	CMdiBackground();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMdiBackground)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMdiBackground();

private:
	CBitmap m_bitmap;

	// Generated message map functions
protected:
	//{{AFX_MSG(CMdiBackground)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

#endif		// __MDI_BACKGROUND_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?