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

📄 mycaldlg.h

📁 WinCE4.2下的计算器,带有四则运算功能.evc编码
💻 H
字号:
// mycalDlg.h : header file
//

#if !defined(AFX_MYCALDLG_H__40138671_6A50_406D_BB6F_6B8104209D27__INCLUDED_)
#define AFX_MYCALDLG_H__40138671_6A50_406D_BB6F_6B8104209D27__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMycalDlg dialog

class CMycalDlg : public CDialog
{
	// Construction
public:
	void fun();
	double fun(double i);
	void Record();
	void Result();
	char* THCAR2char(TCHAR* tchStr) ;
	bool m_dot;
	int m_intDot;
	int m_bit2;
	int m_bit;
	
	double m_base;
	double m_middle;
	double m_end;
	
	bool m_key;
	bool m_dia;
	bool m_sign;
	bool m_change;
	void change();
	CMycalDlg(CWnd* pParent = NULL);	// standard constructor
	
	// Dialog Data
	//{{AFX_DATA(CMycalDlg)
	enum { IDD = IDD_MYCAL_DIALOG };
	CButton	m_radio1;
	CButton	m_radio2;
	CEdit	m_edit1;
	CButton	m_controlEqual;
	CEdit	m_test;
	CEdit	m_result;
	CString	m_strResult;
	CString	m_strExpression;
	double	m_display;
	//}}AFX_DATA
	
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMycalDlg)
protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL
	
	// Implementation
protected:
	HICON m_hIcon;
	
	// Generated message map functions
	//{{AFX_MSG(CMycalDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnRadio1();
	afx_msg void OnButton3();
	afx_msg void OnButton1();
	afx_msg void OnRadio4();
	afx_msg void OnRadio5();
	afx_msg void OnButton2();
	afx_msg void OnButton17();
	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 OnButton10();
	afx_msg void OnButton11();
	afx_msg void OnButton12();
	afx_msg void OnButton13();
	afx_msg void OnButton14();
	afx_msg void OnButton15();
	afx_msg void OnButton16();
	afx_msg void OnButton18();
	afx_msg void OnButton19();
	afx_msg void OnButton20();
	afx_msg void OnButton21();
	afx_msg void OnButton22();
	afx_msg void OnButton23();
	afx_msg void OnButton24();
	afx_msg void OnButton28();
	afx_msg void OnButton25();
	afx_msg void OnButton26();
	afx_msg void OnButton27();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	afx_msg void OnButtonequal2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MYCALDLG_H__40138671_6A50_406D_BB6F_6B8104209D27__INCLUDED_)

⌨️ 快捷键说明

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