insert.h

来自「讲mfc的书」· C头文件 代码 · 共 55 行

H
55
字号
// Insert.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CInsert dialog

class CInsert : public CDialog
{
// Construction
public:
	int m_Len;
	int m_y;
	int m_x;
	int m_placed;
	CInsert(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CInsert)
	enum { IDD = IDD_INSERT };
	int		m_Piece;
	int		m_Dir;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CInsert)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	int m_Result;

	// Generated message map functions
	//{{AFX_MSG(CInsert)
	afx_msg void OnApc();
	afx_msg void OnCMDPost();
	afx_msg void OnEast();
	afx_msg void OnHow();
	afx_msg void OnMis();
	afx_msg void OnNorth();
	afx_msg void OnSouth();
	afx_msg void OnTank();
	afx_msg void OnWest();
	virtual void OnOK();
	virtual void OnCancel();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void EnableOK(void);
};

⌨️ 快捷键说明

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