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

📄 test1dlg.h

📁 本人设计的一个漂亮科学计算器
💻 H
字号:
// test1Dlg.h : header file
//

#if !defined(AFX_TEST1DLG_H__C2B3D07E_7F24_4E20_A7F5_D5A01DAAEFAA__INCLUDED_)
#define AFX_TEST1DLG_H__C2B3D07E_7F24_4E20_A7F5_D5A01DAAEFAA__INCLUDED_

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

#include "XPButton.h"
#include "HisDlg.h"
#include "MyBtn.h"
/////////////////////////////////////////////////////////////////////////////
// CTest1Dlg dialog

class CTest1Dlg : public CDialog
{
// Construction
public:
	CRect m_rect;
	BOOL m_jucle;
	CString m_str4;
	BOOL m_ju16;
	BOOL m_ju10;
	BOOL m_ju8;
	BOOL m_ju2;
	int m_nsel;
	CString m_str3;
	BOOL m_judown;
	CString m_str2;
	CString m_str1;

	BOOL bIsFuncBoardOpen;
	CTest1Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTest1Dlg)
	enum { IDD = IDD_TEST1_DIALOG };
	CMyBtn	m_test;
	CMyBtn	m_tan;
	CMyBtn	m_square;
	CMyBtn	m_sqrt;
	CMyBtn	m_sin;
	CMyBtn	m_reciprocal;
	CMyBtn	m_mod;
	CMyBtn	m_log;
	CMyBtn	m_ln;
	CMyBtn	m_int;
	CMyBtn	m_index;
	CMyBtn	m_exp;
	CMyBtn	m_cube;
	CMyBtn	m_cos;
	CMyBtn	m_constant;
	CMyBtn	m_atan;
	CMyBtn	m_asin;
	CMyBtn	m_acos;
	CMyBtn	m_aboutDlg;
	CMyBtn	m_abs;
	CXPButton	m_extend;
	CXPButton	m_div;
	CXPButton	m_mul;
	CXPButton	m_plus;
	CXPButton	m_add;
	CXPButton	m_point;
	CXPButton	m_sign;
	CXPButton	m_num9;
	CXPButton	m_num8;
	CXPButton	m_num7;
	CXPButton	m_num6;
	CXPButton	m_num5;
	CXPButton	m_num4;
	CXPButton	m_num3;
	CXPButton	m_num2;
	CXPButton	m_num1;
	CXPButton	m_num0;
	CXPButton	m_equ;
	CXPButton	m_charF;
	CXPButton	m_charE;
	CXPButton	m_charD;
	CXPButton	m_charC;
	CXPButton	m_charB;
	CXPButton	m_charA;
	CXPButton	m_clear;
	CXPButton	m_backspace;
	double	m_show;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTest1Dlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual BOOL DestroyWindow();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
private:
	BOOL m_JuPoDown;
	CMenu m_menu;
	BOOL m_firstdown;
	BOOL m_juexp;
	CRect m_rectLarge;
	CRect m_rectSmall;
	CHisDlg* m_pList;
	CToolTipCtrl m_tooltip;
	CToolTipCtrl* m_pToolTip;
	CString m_str5;

protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTest1Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnNum1();
	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 OnNum0();
	afx_msg void OnAdd();
	afx_msg void OnPlus();
	afx_msg void OnMul();
	afx_msg void OnDiv();
	afx_msg void OnEqu();
	afx_msg void OnPoint();
	afx_msg void OnSign();
	afx_msg void OnBackspace();
	afx_msg void OnClear();
	afx_msg void OnSin();
	afx_msg void OnCos();
	afx_msg void OnAsin();
	afx_msg void OnAcos();
	afx_msg void OnMod();
	afx_msg void OnLn();
	afx_msg void OnSqrt();
	afx_msg void OnLog();
	afx_msg void OnHex();
	afx_msg void OnDecimal();
	afx_msg void OnOctal();
	afx_msg void OnBinary();
	afx_msg void OnCharA();
	afx_msg void OnCharB();
	afx_msg void OnCharC();
	afx_msg void OnCharD();
	afx_msg void OnCharE();
	afx_msg void OnCharF();
	afx_msg void OnTan();
	afx_msg void OnAtan();
	afx_msg void OnAboutButton();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnTest();
	afx_msg void OnExtend();
	afx_msg void OnExp();
	afx_msg void OnInt();
	afx_msg void OnSquare();
	afx_msg void OnCube();
	afx_msg void OnIndex();
	afx_msg void OnReciprocal();
	afx_msg void OnAbs();
	afx_msg void OnConstantdata();
	afx_msg void OnPi();
	afx_msg void OnE();
	afx_msg void OnVm();
	afx_msg void OnEf();
	afx_msg void OnMg();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_TEST1DLG_H__C2B3D07E_7F24_4E20_A7F5_D5A01DAAEFAA__INCLUDED_)

⌨️ 快捷键说明

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