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.

85 lines
2.0 KiB

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