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

📄 125dlg.h

📁 一个计算器 mfc编程
💻 H
字号:
// 125Dlg.h : header file
//
#include "MeButton.h"
#if !defined(AFX_125DLG_H__F1BBF2D6_F76B_472A_BA02_396010126C0E__INCLUDED_)
#define AFX_125DLG_H__F1BBF2D6_F76B_472A_BA02_396010126C0E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CMy125Dlg dialog

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

// Dialog Data
	//{{AFX_DATA(CMy125Dlg)
	enum { IDD = IDD_MY125_DIALOG };
	MeButton	m_qingling;
	MeButton	m_jian;
	MeButton	m_jia;
	MeButton	m_cheng;
	MeButton	m_dengyu;
	MeButton	m_chu;
	MeButton	m_9;
	MeButton	m_8;
	MeButton	m_7;
	MeButton	m_6;
	MeButton	m_5;
	MeButton	m_4;
	MeButton	m_3;
	MeButton	m_2;
	MeButton	m_1;
	MeButton	m_0;
	MeButton	m_bczg;
	MeButton	m_bc_cn;
	CStatic	m_txt;
	//}}AFX_DATA

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

// Implementation
protected:
	CString m_show;
	CString sumstr;
	int nosum;
	int notmp;
	CString sumchar;
	CString tmpchar;
	char sos;
	
	TCHAR t_char[24];
	CString str;
	RECT rect;
	HICON m_hIcon;
	HDC hdc;
	HBITMAP hbitmap;
	// Generated message map functions
	//{{AFX_MSG(CMy125Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBUTTONjia();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnButton0();
	afx_msg void OnBcCn();
	afx_msg void OnBczg();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnButton5();
	afx_msg void OnButton6();
	afx_msg void OnButton7();
	afx_msg void OnButton8();
	afx_msg void OnButton9();
	afx_msg void OnQingling();
	afx_msg void OnBUTTONjian();
	afx_msg void OnBUTTONCheng();
	afx_msg void OnBUTTONCChu();
	afx_msg void OnBUTTONCDengyu();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_125DLG_H__F1BBF2D6_F76B_472A_BA02_396010126C0E__INCLUDED_)

⌨️ 快捷键说明

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