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

  1. /////////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2000-2001.
  5. //
  6. // File: NewIssuanceOIDDlg.h
  7. //
  8. // Contents: Definition of CNewIssuanceOIDDlg
  9. //
  10. //----------------------------------------------------------------------------
  11. #if !defined(AFX_NEWISSUANCEOIDDLG_H__6DC0B725_094F_4960_9C8F_417BF7D4474D__INCLUDED_)
  12. #define AFX_NEWISSUANCEOIDDLG_H__6DC0B725_094F_4960_9C8F_417BF7D4474D__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. // NewIssuanceOIDDlg.h : header file
  17. //
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CNewIssuanceOIDDlg dialog
  20. class CNewIssuanceOIDDlg : public CHelpDialog
  21. {
  22. // Construction
  23. public:
  24. CNewIssuanceOIDDlg(CWnd* pParent); // standard constructor
  25. CNewIssuanceOIDDlg(CWnd* pParent,
  26. const CString& szDisplayName,
  27. const CString& szOID,
  28. const CString& szCPS);
  29. virtual ~CNewIssuanceOIDDlg () {};
  30. // Dialog Data
  31. //{{AFX_DATA(CNewIssuanceOIDDlg)
  32. enum { IDD = IDD_NEW_ISSUANCE_OID };
  33. CEdit m_oidValueEdit;
  34. CRichEditCtrl m_CPSEdit;
  35. CString m_oidFriendlyName;
  36. CString m_oidValue;
  37. CString m_CPSValue;
  38. //}}AFX_DATA
  39. // Overrides
  40. // ClassWizard generated virtual function overrides
  41. //{{AFX_VIRTUAL(CNewIssuanceOIDDlg)
  42. protected:
  43. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  44. //}}AFX_VIRTUAL
  45. // Implementation
  46. protected:
  47. virtual void DoContextHelp (HWND hWndControl);
  48. void EnableControls ();
  49. // Generated message map functions
  50. //{{AFX_MSG(CNewIssuanceOIDDlg)
  51. virtual BOOL OnInitDialog();
  52. afx_msg void OnChangeNewOidName();
  53. afx_msg void OnChangeNewOidValue();
  54. virtual void OnCancel();
  55. virtual void OnOK();
  56. afx_msg void OnClickedURL (NMHDR* pNMHDR, LRESULT* pResult);
  57. afx_msg void OnChangeCpsEdit();
  58. //}}AFX_MSG
  59. DECLARE_MESSAGE_MAP()
  60. private:
  61. const CString m_originalCPSValue;
  62. const CString m_originalOidFriendlyName;
  63. CString m_szOriginalOID;
  64. const bool m_bEdit;
  65. bool m_bDirty;
  66. };
  67. //{{AFX_INSERT_LOCATION}}
  68. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  69. #endif // !defined(AFX_NEWISSUANCEOIDDLG_H__6DC0B725_094F_4960_9C8F_417BF7D4474D__INCLUDED_)