mueditboxdlg.h

来自「主要是运用MFC库的对话框界面 用vc++6」· C头文件 代码 · 共 70 行

H
70
字号
// MuEditBoxDlg.h : header file
//

#if !defined(AFX_MUEDITBOXDLG_H__1F37C273_5176_43DD_99F7_DB8258AD701D__INCLUDED_)
#define AFX_MUEDITBOXDLG_H__1F37C273_5176_43DD_99F7_DB8258AD701D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMuEditBoxDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CMuEditBoxDlg)
	enum { IDD = IDD_MUEDITBOX_DIALOG };
	CButton	m_cut;
	CButton	m_copy;
	CButton	m_clear;
	CButton	m_undo;
	CButton	m_paste;
	CButton	m_close;
	CEdit	m_cedit;
	CEdit	m_ledit;
	CEdit	m_medit;
	CEdit	m_sedit;
	//}}AFX_DATA

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

// Implementation
protected:
	BOOL IfSingleEditFocus;
	BOOL IfMultilineEditFocus;
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMuEditBoxDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSetfocusEdit1();
	afx_msg void OnChangeEdit2();
	afx_msg void OnSetfocusEdit2();
	afx_msg void OnCutButton1();
	afx_msg void OnClearButton6();
	afx_msg void OnCopyButton2();
	afx_msg void OnExitButton5();
	afx_msg void OnPasteButton3();
	afx_msg void OnUndoButton4();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MUEDITBOXDLG_H__1F37C273_5176_43DD_99F7_DB8258AD701D__INCLUDED_)

⌨️ 快捷键说明

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