⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cnum.h

📁 用C++实现的计算器的源程序
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -