Leaked source code of windows server 2003
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.

64 lines
1.6 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997 - 1999
  6. //
  7. // File: simprop.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // SimProp.h
  11. class CSimPropPage : public CPropertyPageEx_Mine
  12. {
  13. friend CSimData;
  14. DECLARE_DYNCREATE(CSimPropPage)
  15. public:
  16. CSimPropPage(UINT nIDTemplate = 0);
  17. ~CSimPropPage();
  18. // Dialog Data
  19. //{{AFX_DATA(CSimPropPage)
  20. // NOTE - ClassWizard will add data members here.
  21. // DO NOT EDIT what you see in these blocks of generated code !
  22. //}}AFX_DATA
  23. // Overrides
  24. // ClassWizard generate virtual function overrides
  25. //{{AFX_VIRTUAL(CSimPropPage)
  26. protected:
  27. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  28. //}}AFX_VIRTUAL
  29. // Implementation
  30. protected:
  31. // Generated message map functions
  32. //{{AFX_MSG(CSimPropPage)
  33. virtual BOOL OnInitDialog();
  34. afx_msg void OnButtonRemove();
  35. afx_msg void OnClickListview(NMHDR* pNMHDR, LRESULT* pResult);
  36. afx_msg void OnDblclkListview(NMHDR* pNMHDR, LRESULT* pResult);
  37. afx_msg void OnItemchangedListview(NMHDR* pNMHDR, LRESULT* pResult);
  38. afx_msg void OnKeydownListview(NMHDR* pNMHDR, LRESULT* pResult);
  39. afx_msg void OnSetfocusEditUserAccount();
  40. //}}AFX_MSG
  41. DECLARE_MESSAGE_MAP()
  42. BOOL OnHelp(WPARAM wParam, LPARAM lParam);
  43. virtual void DoContextHelp (HWND) {};
  44. protected:
  45. CSimData * m_pData;
  46. HWND m_hwndListview; // Handle of the listview control
  47. const TColumnHeaderItem * m_prgzColumnHeader;
  48. protected:
  49. void SetDirty();
  50. void UpdateUI();
  51. }; // CSimPropPage