Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.9 KiB

  1. #if !defined(AFX_DPFILEINFOPAGE_H__0708329F_CF6B_11D2_9F01_00A0C986B7A0__INCLUDED_)
  2. #define AFX_DPFILEINFOPAGE_H__0708329F_CF6B_11D2_9F01_00A0C986B7A0__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DPFileInfoPage.h : header file
  7. //
  8. #include "HMPropertyPage.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CDPFileInfoPage dialog
  11. class CDPFileInfoPage : public CHMPropertyPage
  12. {
  13. DECLARE_DYNCREATE(CDPFileInfoPage)
  14. // Construction
  15. public:
  16. CDPFileInfoPage();
  17. ~CDPFileInfoPage();
  18. // Dialog Data
  19. //{{AFX_DATA(CDPFileInfoPage)
  20. enum { IDD = IDD_DATAPOINT_FILEINFORMATION };
  21. CListCtrl m_FolderProperties;
  22. CListCtrl m_FileProperties;
  23. BOOL m_bRequireReset;
  24. CString m_sFile;
  25. CString m_sFolder;
  26. int m_iType;
  27. //}}AFX_DATA
  28. // Overrides
  29. // ClassWizard generate virtual function overrides
  30. //{{AFX_VIRTUAL(CDPFileInfoPage)
  31. public:
  32. virtual BOOL OnApply();
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. protected:
  38. void UpdateProperties(CListCtrl& Properties, const CString& sNamespace, const CString& sClass);
  39. // Generated message map functions
  40. //{{AFX_MSG(CDPFileInfoPage)
  41. virtual BOOL OnInitDialog();
  42. afx_msg void OnButtonBrowseFile();
  43. afx_msg void OnButtonBrowseFolder();
  44. afx_msg void OnCheckRequireReset();
  45. afx_msg void OnChangeEditFile();
  46. afx_msg void OnChangeEditFolder();
  47. afx_msg void OnRadio1();
  48. afx_msg void OnRadio2();
  49. afx_msg void OnClickListFileProperties(NMHDR* pNMHDR, LRESULT* pResult);
  50. afx_msg void OnClickListFolderProperties(NMHDR* pNMHDR, LRESULT* pResult);
  51. afx_msg void OnDestroy();
  52. //}}AFX_MSG
  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_DPFILEINFOPAGE_H__0708329F_CF6B_11D2_9F01_00A0C986B7A0__INCLUDED_)