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.

80 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1994-95 Microsoft Corporation
  3. Module Name:
  4. srvppgp.h
  5. Abstract:
  6. Server property page (products) implementation.
  7. Author:
  8. Don Ryan (donryan) 13-Feb-1995
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _SRVPPGP_H_
  14. #define _SRVPPGP_H_
  15. class CServerPropertyPageProducts : public CPropertyPage
  16. {
  17. DECLARE_DYNCREATE(CServerPropertyPageProducts)
  18. private:
  19. CServer* m_pServer;
  20. DWORD* m_pUpdateHint;
  21. BOOL m_bAreCtrlsInitialized;
  22. public:
  23. CServerPropertyPageProducts();
  24. ~CServerPropertyPageProducts();
  25. void InitPage(CServer* pServer, DWORD* pUpdateHint);
  26. void AbortPageIfNecessary();
  27. void AbortPage();
  28. void InitCtrls();
  29. BOOL RefreshCtrls();
  30. //{{AFX_DATA(CServerPropertyPageProducts)
  31. enum { IDD = IDD_PP_SERVER_PRODUCTS };
  32. CButton m_edtBtn;
  33. CListCtrl m_productList;
  34. //}}AFX_DATA
  35. //{{AFX_VIRTUAL(CServerPropertyPageProducts)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX);
  38. virtual BOOL OnSetActive();
  39. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  40. //}}AFX_VIRTUAL
  41. protected:
  42. //{{AFX_MSG(CServerPropertyPageProducts)
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnEdit();
  45. afx_msg void OnDblClkProducts(NMHDR* pNMHDR, LRESULT* pResult);
  46. afx_msg void OnReturnProducts(NMHDR* pNMHDR, LRESULT* pResult);
  47. afx_msg void OnSetFocusProducts(NMHDR* pNMHDR, LRESULT* pResult);
  48. afx_msg void OnKillFocusProducts(NMHDR* pNMHDR, LRESULT* pResult);
  49. afx_msg void OnColumnClickProducts(NMHDR* pNMHDR, LRESULT* pResult);
  50. afx_msg void OnGetDispInfoProducts(NMHDR* pNMHDR, LRESULT* pResult);
  51. afx_msg void OnDestroy();
  52. //}}AFX_MSG
  53. DECLARE_MESSAGE_MAP()
  54. };
  55. int CALLBACK CompareServerProducts(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
  56. #endif // _SRVPPGP_H_