Source code of Windows XP (NT5)
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.8 KiB

  1. /*++
  2. Copyright (c) 1994-95 Microsoft Corporation
  3. Module Name:
  4. lgrpdlg.h
  5. Abstract:
  6. License group dialog implementation.
  7. Author:
  8. Don Ryan (donryan) 03-Mar-1995
  9. Environment:
  10. User Mode - Win32
  11. Revision History:
  12. --*/
  13. #ifndef _LGRPDLG_H_
  14. #define _LGRPDLG_H_
  15. class CLicenseGroupsDialog : public CDialog
  16. {
  17. private:
  18. BOOL m_bAreCtrlsInitialized;
  19. HACCEL m_hAccel;
  20. public:
  21. DWORD m_fUpdateHint;
  22. public:
  23. CLicenseGroupsDialog(CWnd* pParent = NULL);
  24. //{{AFX_DATA(CLicenseGroupsDialog)
  25. enum { IDD = IDD_LICENSE_GROUPS };
  26. CButton m_addBtn;
  27. CButton m_delBtn;
  28. CButton m_edtBtn;
  29. CListCtrl m_mappingList;
  30. //}}AFX_DATA
  31. void AbortDialogIfNecessary();
  32. void AbortDialog();
  33. void InitCtrls();
  34. BOOL RefreshCtrls();
  35. //{{AFX_VIRTUAL(CLicenseGroupsDialog)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX);
  38. virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  39. virtual BOOL PreTranslateMessage( MSG *pMsg );
  40. //}}AFX_VIRTUAL
  41. protected:
  42. //{{AFX_MSG(CLicenseGroupsDialog)
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnDelete();
  45. afx_msg void OnEdit();
  46. afx_msg void OnAdd();
  47. afx_msg void OnDblClkMappings(NMHDR* pNMHDR, LRESULT* pResult);
  48. afx_msg void OnReturnMappings(NMHDR* pNMHDR, LRESULT* pResult);
  49. afx_msg void OnSetFocusMappings(NMHDR* pNMHDR, LRESULT* pResult);
  50. afx_msg void OnKillFocusMappings(NMHDR* pNMHDR, LRESULT* pResult);
  51. afx_msg void OnColumnClickMappings(NMHDR* pNMHDR, LRESULT* pResult);
  52. afx_msg void OnGetDispInfoMappings(NMHDR* pNMHDR, LRESULT* pResult);
  53. afx_msg void OnDestroy();
  54. //}}AFX_MSG
  55. DECLARE_MESSAGE_MAP()
  56. };
  57. int CALLBACK CompareMappings(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
  58. #endif // _LGRPDLG_H_