📄 calculatordlg.h
字号:
// CalculatorDlg.h : header file
//
#if !defined(AFX_CALCULATORDLG_H__6D485E12_19EF_433F_A4EC_2BA8A1F439F6__INCLUDED_)
#define AFX_CALCULATORDLG_H__6D485E12_19EF_433F_A4EC_2BA8A1F439F6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCalculatorDlg dialog
class CCalculatorDlg : public CDialog
{
// Construction
public:
CCalculatorDlg(CWnd* pParent = NULL); // standard constructor
CMenu m_menu;
// Dialog Data
//{{AFX_DATA(CCalculatorDlg)
enum { IDD = IDD_CALCULATOR_DIALOG };
float m_display;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCalculatorDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
HACCEL m_hAccel;
int m_bit;
float m_base;
float m_end;
int m_dot;
float point;
// Generated message map functions
//{{AFX_MSG(CCalculatorDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnButton2();
afx_msg void OnButton1();
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 OnButton10();
afx_msg void KeyDeal(int a);
afx_msg void OnButtonadd();
afx_msg void OnButtonsub();
afx_msg void OnButtonmut();
afx_msg void OnButtondiv();
afx_msg void OnButtonequ();
afx_msg void OnCe();
afx_msg void Result();
afx_msg void OnButtondot();
afx_msg void OnFileExit();
afx_msg void OnHelpAbout();
afx_msg void OnC();
afx_msg void OnButtonsqrt();
afx_msg void OnButtonSIGN();
afx_msg void OnBUTTONRec();
afx_msg void OnButtonper();
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnBianhuan();
afx_msg void OnButtonexp();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CALCULATORDLG_H__6D485E12_19EF_433F_A4EC_2BA8A1F439F6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -