squarecaldlldlg.h

来自「内容包括从VC++的基本范例到项目开发的许多典型的例子。是VC++初学者不可多得」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_SQUARECALDLLDLG_H__42545026_60D3_401B_A724_1ACF444DD76A__INCLUDED_)
#define AFX_SQUARECALDLLDLG_H__42545026_60D3_401B_A724_1ACF444DD76A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SquareCalDllDlg.h : header file
//
		// main symbols
#define IDC_EDIT1                       1000
#define IDC_EDIT2                       1001
#define IDC_EDIT3                       1002
#define IDC_MINUS                       1003
#define IDC_ADD                         1004
#define IDD_SQUARECALDLLDLG             11000

/////////////////////////////////////////////////////////////////////////////
// CSquareCalDllDlg dialog
#include "SquaredbSet.h" 
class AFX_EXT_CLASS CSquareCalDllDlg : public CDialog
{
// Construction
public:
	CSquareCalDllDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSquareCalDllDlg)
	enum { IDD = IDD_SQUARECALDLLDLG };
	double	m_x;
	double	m_y;
	double	m_result;
	//}}AFX_DATA


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

// Implementation
public:
  CSquaredbSet *m_pSet;
protected:

	// Generated message map functions
	//{{AFX_MSG(CSquareCalDllDlg)
	afx_msg void OnAdd();
	afx_msg void OnMinus();
	virtual BOOL OnInitDialog();
	afx_msg void OnRecordFirst();
	afx_msg void OnRecordPre();
	afx_msg void OnRecordNext();
	afx_msg void OnRecordLast();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SQUARECALDLLDLG_H__42545026_60D3_401B_A724_1ACF444DD76A__INCLUDED_)

⌨️ 快捷键说明

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