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.

83 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 1994-95 Microsoft Corporation
  3. Module Name:
  4. prdppgs.cpp
  5. Abstract:
  6. Product property page (servers) implementation.
  7. Author:
  8. Don Ryan (donryan) 02-Feb-1995
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _PRDPPGS_H_
  14. #define _PRDPPGS_H_
  15. class CProductPropertyPageServers : public CPropertyPage
  16. {
  17. DECLARE_DYNCREATE(CProductPropertyPageServers)
  18. private:
  19. CProduct* m_pProduct;
  20. DWORD* m_pUpdateHint;
  21. BOOL m_bAreCtrlsInitialized;
  22. public:
  23. CProductPropertyPageServers();
  24. ~CProductPropertyPageServers();
  25. void InitPage(CProduct* pProduct, DWORD* pUpdateHint);
  26. void AbortPageIfNecessary();
  27. void AbortPage();
  28. void InitCtrls();
  29. BOOL RefreshCtrls();
  30. void ViewServerProperties();
  31. //{{AFX_DATA(CProductPropertyPageServers)
  32. enum { IDD = IDD_PP_PRODUCT_SERVERS };
  33. CButton m_editBtn;
  34. CListCtrl m_serverList;
  35. //}}AFX_DATA
  36. //{{AFX_VIRTUAL(CProductPropertyPageServers)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX);
  39. virtual BOOL OnSetActive();
  40. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  41. //}}AFX_VIRTUAL
  42. protected:
  43. //{{AFX_MSG(CProductPropertyPageServers)
  44. virtual BOOL OnInitDialog();
  45. afx_msg void OnEdit();
  46. afx_msg void OnDblClkServers(NMHDR* pNMHDR, LRESULT* pResult);
  47. afx_msg void OnReturnServers(NMHDR* pNMHDR, LRESULT* pResult);
  48. afx_msg void OnSetFocusServers(NMHDR* pNMHDR, LRESULT* pResult);
  49. afx_msg void OnKillFocusServers(NMHDR* pNMHDR, LRESULT* pResult);
  50. afx_msg void OnColumnClickServers(NMHDR* pNMHDR, LRESULT* pResult);
  51. afx_msg void OnGetDispInfoServers(NMHDR* pNMHDR, LRESULT* pResult);
  52. afx_msg void OnDestroy();
  53. //}}AFX_MSG
  54. DECLARE_MESSAGE_MAP()
  55. };
  56. int CALLBACK CompareProductServers(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
  57. #endif // _PRDPPGS_H_