drawformview.h

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

H
56
字号
// DrawFormView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDrawFormView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CDrawFormView : public CFormView
{
protected:
	CDrawFormView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CDrawFormView)

// Form Data
public:
	//{{AFX_DATA(CDrawFormView)
	enum { IDD = IDD_DRAWING_FORMVIEW };
	CString	m_strCurrentShape;
	int		m_nCurrentY;
	int		m_nCurrentX;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDrawFormView)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CDrawFormView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CDrawFormView)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

⌨️ 快捷键说明

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