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_SHRPGSFM_H__6819CF67_C424_11D1_A6C6_00C04FB94F17__INCLUDED_)
  2. #define AFX_SHRPGSFM_H__6819CF67_C424_11D1_A6C6_00C04FB94F17__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // ShrPgSFM.h : header file
  7. //
  8. #include "shrprop.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CSharePageGeneralSFM dialog
  11. class CSharePageGeneralSFM : public CSharePageGeneral
  12. {
  13. DECLARE_DYNCREATE(CSharePageGeneralSFM)
  14. // Construction
  15. public:
  16. CSharePageGeneralSFM();
  17. virtual ~CSharePageGeneralSFM();
  18. virtual BOOL Load( CFileMgmtComponentData* pFileMgmtData, LPDATAOBJECT piDataObject );
  19. // these are implemented in sfm.cpp
  20. void ReadSfmSettings();
  21. void WriteSfmSettings();
  22. // Dialog Data
  23. //{{AFX_DATA(CSharePageGeneralSFM)
  24. enum { IDD = IDD_SHAREPROP_GENERAL_SFM };
  25. CButton m_checkboxSfmReadonly;
  26. CButton m_checkboxSfmGuests;
  27. CEdit m_editSfmPassword;
  28. CButton m_groupboxSfm;
  29. CStatic m_staticSfmText;
  30. CString m_strSfmPassword;
  31. BOOL m_bSfmReadonly;
  32. BOOL m_bSfmGuests;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generate virtual function overrides
  36. //{{AFX_VIRTUAL(CSharePageGeneralSFM)
  37. public:
  38. virtual BOOL OnApply();
  39. protected:
  40. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  41. //}}AFX_VIRTUAL
  42. // Implementation
  43. protected:
  44. // Generated message map functions
  45. //{{AFX_MSG(CSharePageGeneralSFM)
  46. afx_msg void OnSfmCheckGuests();
  47. afx_msg void OnSfmCheckReadonly();
  48. afx_msg void OnChangeSfmEditPassword();
  49. afx_msg BOOL OnHelp(WPARAM wParam, LPARAM lParam);
  50. afx_msg BOOL OnContextHelp(WPARAM wParam, LPARAM lParam);
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  56. #endif // !defined(AFX_SHRPGSFM_H__6819CF67_C424_11D1_A6C6_00C04FB94F17__INCLUDED_)