mfcappcndlg.h

来自「这是一个简单实用的复数计算器程序。界面和使用方法与Windows附带的计算器类似」· C头文件 代码 · 共 75 行

H
75
字号
// MFCAppCNDlg.h : header file
//

#if !defined(AFX_MFCAPPCNDLG_H__EC8894A7_A68E_4B5E_A44F_1AF1A6CC9FAB__INCLUDED_)
#define AFX_MFCAPPCNDLG_H__EC8894A7_A68E_4B5E_A44F_1AF1A6CC9FAB__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMFCAppCNDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CMFCAppCNDlg)
	enum { IDD = IDD_MFCAPPCN_DIALOG };
	double	m_r;
	double	m_i;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMFCAppCNDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnAdd();
	afx_msg void OnSub();
	afx_msg void OnMul();
	afx_msg void OnDiv();
	afx_msg void OnEqu();
	afx_msg void OnDel();
	afx_msg void OnExt();
	afx_msg void Onsqrt();
	afx_msg void OnNum1();
	afx_msg void OnRADIOReal();
	afx_msg void OnRADIOimage();
	afx_msg void OnNum0();
	afx_msg void OnNum2();
	afx_msg void OnNum3();
	afx_msg void OnNum4();
	afx_msg void OnNum5();
	afx_msg void OnNum6();
	afx_msg void OnNum7();
	afx_msg void OnNum8();
	afx_msg void OnNum9();
	afx_msg void OnConj();
	afx_msg void OnDecimal();
	afx_msg void OnCe();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MFCAPPCNDLG_H__EC8894A7_A68E_4B5E_A44F_1AF1A6CC9FAB__INCLUDED_)

⌨️ 快捷键说明

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