www.pudn.com > autoricheditctrl_demo.zip > RichEdDlg.h
// RichEdDlg.h : header file
//
#include "AutoRichEditCtrl.h"
#if !defined(AFX_RICHEDDLG_H__C26D1E06_DD32_11D2_B39F_000092914562__INCLUDED_)
#define AFX_RICHEDDLG_H__C26D1E06_DD32_11D2_B39F_000092914562__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CRichEdDlg dialog
class CRichEdDlg : public CDialog
{
// Construction
public:
CRichEdDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CRichEdDlg)
enum { IDD = IDD_RICHED_DIALOG };
CComboBox m_combo;
CAutoRichEditCtrl m_richedit;
CString m_sEdit;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRichEdDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CRichEdDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnExecute();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RICHEDDLG_H__C26D1E06_DD32_11D2_B39F_000092914562__INCLUDED_)