cnum.h

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

H
76
字号
#if !defined(AFX_CNUM_H__1A2707AD_BCD9_41CE_8520_2BEBB5C6EF11__INCLUDED_)
#define AFX_CNUM_H__1A2707AD_BCD9_41CE_8520_2BEBB5C6EF11__INCLUDED_

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

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

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


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCNUM)
	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(CCNUM)
	afx_msg void OnBtn1();
	afx_msg void OnBtn2();
	afx_msg void OnBtn7();
	afx_msg void OnBtn9();
	afx_msg void OnBtn3();
	afx_msg void OnBtn4();
	afx_msg void OnBtn5();
	afx_msg void OnBtn6();
	afx_msg void OnBtn0();
	afx_msg void OnBtnDot();
	afx_msg void OnBtn8();
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnBtnBin();
	afx_msg void OnBtnOct();
	afx_msg void OnBtnHex();
	afx_msg void OnBtnSpace();
	afx_msg void OnBtnBack();
	afx_msg void OnBtnA();
	afx_msg void OnBtnB();
	afx_msg void OnBtnC();
	afx_msg void OnBtnD();
	afx_msg void OnBtnE();
	afx_msg void OnBtnF();
	afx_msg void OnBtnPi();
	afx_msg void OnBtnEe();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CNUM_H__1A2707AD_BCD9_41CE_8520_2BEBB5C6EF11__INCLUDED_)

⌨️ 快捷键说明

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