editdlg.h

来自「是一个数字编辑器」· C头文件 代码 · 共 64 行

H
64
字号
// editDlg.h : header file
// standard mfc dialog class.
// nothing realy interesting here, it just illustrates the use of the different 
// spin edit's I've made.

#if !defined(AFX_EDITDLG_H__9806653B_1CEB_11D4_BF84_0000B4C36F8C__INCLUDED_)
#define AFX_EDITDLG_H__9806653B_1CEB_11D4_BF84_0000B4C36F8C__INCLUDED_

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

#include "CNumEdit.h"
#include "CNumRangeEdit.h"
#include "CNumSpinEdit.h"


/////////////////////////////////////////////////////////////////////////////
// CEditDlg dialog

class CEditDlg : public CDialog
{
// Construction
public:
	CEditDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CEditDlg)
	enum { IDD = IDD_EDIT_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CEditDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	
	CNumEdit	  m_NumEdit;
	CNumRangeEdit m_NumRangeEdit;
	CNumSpinEdit  m_CNumSpinEdit;
	
	CFont m_font;
};

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

#endif // !defined(AFX_EDITDLG_H__9806653B_1CEB_11D4_BF84_0000B4C36F8C__INCLUDED_)

⌨️ 快捷键说明

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