RichEdDlg.h
上传用户:niucheng
上传日期:2007-01-02
资源大小:56k
文件大小:1k
源码类别:

RichEdit

开发平台:

Visual C++

  1. // RichEdDlg.h : header file
  2. //
  3. #include "AutoRichEditCtrl.h"
  4. #if !defined(AFX_RICHEDDLG_H__C26D1E06_DD32_11D2_B39F_000092914562__INCLUDED_)
  5. #define AFX_RICHEDDLG_H__C26D1E06_DD32_11D2_B39F_000092914562__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CRichEdDlg dialog
  11. class CRichEdDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CRichEdDlg(CWnd* pParent = NULL); // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CRichEdDlg)
  18. enum { IDD = IDD_RICHED_DIALOG };
  19. CComboBox m_combo;
  20. CAutoRichEditCtrl m_richedit;
  21. CString m_sEdit;
  22. //}}AFX_DATA
  23. // ClassWizard generated virtual function overrides
  24. //{{AFX_VIRTUAL(CRichEdDlg)
  25. protected:
  26. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  27. //}}AFX_VIRTUAL
  28. // Implementation
  29. protected:
  30. HICON m_hIcon;
  31. // Generated message map functions
  32. //{{AFX_MSG(CRichEdDlg)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnPaint();
  35. afx_msg HCURSOR OnQueryDragIcon();
  36. afx_msg void OnExecute();
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. };
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_RICHEDDLG_H__C26D1E06_DD32_11D2_B39F_000092914562__INCLUDED_)