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.

72 lines
2.0 KiB

  1. /////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000-2001.
  5. //
  6. // File: ViewOIDDlg.h
  7. //
  8. // Contents: Definition of CViewOIDDlg
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_VIEWOIDDLG_H__CACA6370_0DB7_423B_80AD_C8F0F30D75D9__INCLUDED_)
  12. #define AFX_VIEWOIDDLG_H__CACA6370_0DB7_423B_80AD_C8F0F30D75D9__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // ViewOIDDlg.h : header file
  17. //
  18. #include "PolicyOID.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CViewOIDDlg dialog
  21. class CViewOIDDlg : public CHelpDialog
  22. {
  23. // Construction
  24. public:
  25. CViewOIDDlg(CWnd* pParent = NULL); // standard constructor
  26. // Dialog Data
  27. //{{AFX_DATA(CViewOIDDlg)
  28. enum { IDD = IDD_VIEW_OIDS };
  29. CListCtrl m_oidList;
  30. //}}AFX_DATA
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CViewOIDDlg)
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. enum {
  39. COL_POLICY_NAME = 0,
  40. COL_OID,
  41. COL_POLICY_TYPE,
  42. COL_CPS_LOCATION,
  43. NUM_COLS // must be last
  44. };
  45. protected:
  46. virtual void DoContextHelp (HWND hWndControl);
  47. static int CALLBACK fnCompareOIDItems (LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
  48. HRESULT InsertItemInList (CPolicyOID* pPolicyOID);
  49. // Generated message map functions
  50. //{{AFX_MSG(CViewOIDDlg)
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnItemchangedOidList(NMHDR* pNMHDR, LRESULT* pResult);
  53. afx_msg void OnCopyOid();
  54. afx_msg void OnColumnclickOidList(NMHDR* pNMHDR, LRESULT* pResult);
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_VIEWOIDDLG_H__CACA6370_0DB7_423B_80AD_C8F0F30D75D9__INCLUDED_)