MarkupSampleDlg.h
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:2k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. // MarkupSampleDlg.h : header file
  2. //
  3. #if !defined(AFX_MARKUPSAMPLEDLG_H__E6161FD9_6D1A_4018_B00E_6AA977CAB4BF__INCLUDED_)
  4. #define AFX_MARKUPSAMPLEDLG_H__E6161FD9_6D1A_4018_B00E_6AA977CAB4BF__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. #include "MarkupListCtrl.h"
  9. #include "MarkupStatic.h"
  10. #include "MarkupTreeCtrl.h"
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CMarkupSampleDlg dialog
  13. class CMarkupSampleDlg : public CXTResizeDialog
  14. {
  15. // Construction
  16. public:
  17. CMarkupSampleDlg(CWnd* pParent = NULL); // standard constructor
  18. // Dialog Data
  19. //{{AFX_DATA(CMarkupSampleDlg)
  20. enum { IDD = IDD_MARKUPSAMPLE_DIALOG };
  21. CMarkupTreeCtrl m_wndTree;
  22. CXTPButton m_btnMore;
  23. CXTPButton m_wndCheckBox;
  24. CXTPButton m_wndButton;
  25. CXTPButton m_wndRadio;
  26. CMarkupStatic m_wndStatic;
  27. CMarkupListCtrl m_wndList;
  28. CXTPTabControl m_wndTabControl;
  29. //}}AFX_DATA
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CMarkupSampleDlg)
  32. protected:
  33. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  34. //}}AFX_VIRTUAL
  35. void AddListItem(LPCTSTR lpszMarkup);
  36. // Implementation
  37. protected:
  38. HICON m_hIcon;
  39. // Generated message map functions
  40. //{{AFX_MSG(CMarkupSampleDlg)
  41. virtual BOOL OnInitDialog();
  42. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  43. afx_msg void OnPaint();
  44. afx_msg HCURSOR OnQueryDragIcon();
  45. afx_msg void OnMorePopupcontrol();
  46. afx_msg void OnMoreUnicodesupport();
  47. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  48. afx_msg void OnMoreTaskdialog();
  49. //}}AFX_MSG
  50. void OnHyperlinkClick(CXTPMarkupObject* pSender, CXTPMarkupRoutedEventArgs* pArgs);
  51. void OnMoreDropDown();
  52. void OnTabControlSelChanged(NMHDR* pHeader, LRESULT* pResult);
  53. DECLARE_MESSAGE_MAP()
  54. };
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_MARKUPSAMPLEDLG_H__E6161FD9_6D1A_4018_B00E_6AA977CAB4BF__INCLUDED_)