?? caldlg.h
字號:
// calDlg.h : header file
//
#if !defined(AFX_CALDLG_H__2A542E41_BBBF_46CD_8625_97721B086689__INCLUDED_)
#define AFX_CALDLG_H__2A542E41_BBBF_46CD_8625_97721B086689__INCLUDED_
#include "AdvEdit.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCalDlg dialog
class CCalDlg : public CDialog
{
// Construction
public:
void Result();
CAdvEdit m_DspEdit;
CCalDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCalDlg)
enum { IDD = IDD_DIALOG };
CButton m_Button9;
CButton m_Button8;
CButton m_Button7;
CButton m_Button6;
CButton m_Button5;
CButton m_Button4;
CButton m_Button3;
CButton m_ButtonLog;
CButton m_ButtonLn;
CButton m_ButtonExp;
CButton m_ButtonPow;
CButton m_ButtonCub;
CButton m_ButtonSqu;
CButton m_ButtonTan;
CButton m_ButtonCos;
CButton m_Button2;
CButton m_ButtonSin;
CButton m_ButtonReverse;
CButton m_ButtonSqrt;
CButton m_ButtonClear;
CButton m_ButtonDiv;
CButton m_ButtonMul;
CButton m_ButtonSub;
CButton m_ButtonAdd;
CButton m_ButtonEqu;
CButton m_ButtonPoint;
CButton m_Button1;
CButton m_Button0;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCalDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCalDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton0();
afx_msg void OnButton1();
afx_msg void OnButtonEqu();
afx_msg void OnButtonAdd();
afx_msg void OnButtonPoint();
afx_msg void OnButtonSub();
afx_msg void OnButtonMul();
afx_msg void OnButtonDiv();
afx_msg void OnButtonClear();
afx_msg void OnButtonSqrt();
afx_msg void OnButtonReverse();
afx_msg void OnButtonSin();
afx_msg void OnButton2();
afx_msg void OnButtonCos();
afx_msg void OnButtonTan();
afx_msg void OnButtonSqu();
afx_msg void OnButtonCub();
afx_msg void OnButtonPow();
afx_msg void OnButtonExp();
afx_msg void OnButtonLn();
afx_msg void OnButtonLog();
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
DECLARE_MESSAGE_MAP()
private:
CString m_StrEnd;
int m_Mark;
int m_IsCheckPoint; //標(biāo)識小數(shù)點
int m_bit; //記錄運算符號
double m_end; //記錄結(jié)果操作數(shù)
double m_begin; //記錄初始操作數(shù)
char m_buffer[100]; //記錄結(jié)果操作數(shù),字符串
CString m_StrBegin; //記錄初始操作數(shù),字符串
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CALDLG_H__2A542E41_BBBF_46CD_8625_97721B086689__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -