cop.h

来自「用C++实现的计算器的源程序」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_COP_H__180F20EF_1922_4ADF_89D4_E03C8EF7961A__INCLUDED_)
#define AFX_COP_H__180F20EF_1922_4ADF_89D4_E03C8EF7961A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// COP.h : header file
//
#include "MFECToolTip.h"
/////////////////////////////////////////////////////////////////////////////
// CCOP dialog

class CCOP : public CDialog
{
// Construction
public:
	CString m_strN;
	CCOP(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CCOP)
	enum { IDD = IDD_DIALOG_OP };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
protected:
	CMFECToolTip m_toolTip;
	UINT m_nCtrlIDTmp;
	// Generated message map functions
	//{{AFX_MSG(CCOP)
	virtual void OnCancel();
	afx_msg void OnBtnAdd();
	afx_msg void OnBtnMin();
	afx_msg void OnBtnMul();
	afx_msg void OnBtnDiv();
	afx_msg void OnBtnPow();
	afx_msg void OnBtnMod();
	afx_msg void OnBtnLbra();
	afx_msg void OnBtnRbra();
	virtual BOOL OnInitDialog();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COP_H__180F20EF_1922_4ADF_89D4_E03C8EF7961A__INCLUDED_)

⌨️ 快捷键说明

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