editboxdlg.h

来自「主要是用vc++6.0编写的运用MFC库的编辑框程序」· C头文件 代码 · 共 65 行

H
65
字号
// EditBoxDlg.h : header file
//

#if !defined(AFX_EDITBOXDLG_H__50C3E966_8FE4_4170_8DEE_AD35966A5C59__INCLUDED_)
#define AFX_EDITBOXDLG_H__50C3E966_8FE4_4170_8DEE_AD35966A5C59__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CEditBoxDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CEditBoxDlg)
	enum { IDD = IDD_EDITBOX_DIALOG };
	CButton	m_undo;
	CButton	m_transfer;
	CButton	m_show2;
	CButton	m_show1;
	CButton	m_exit;
	CEdit	m_edit2;
	CEdit	m_edit1;
	CButton	m_clear2;
	CButton	m_clear1;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CEditBoxDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnShow1Button1();
	afx_msg void OnClear1Button2();
	afx_msg void OnShow2Button3();
	afx_msg void OnClear2Button4();
	afx_msg void OnExitButton5();
	afx_msg void OnTransferButton6();
	afx_msg void OnUndoButton7();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_EDITBOXDLG_H__50C3E966_8FE4_4170_8DEE_AD35966A5C59__INCLUDED_)

⌨️ 快捷键说明

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