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.7 KiB

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