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.

82 lines
2.4 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. bool StartsWithHTTP (const CString& szURL) const;
  48. virtual void DoContextHelp (HWND hWndControl);
  49. void EnableControls ();
  50. // Generated message map functions
  51. //{{AFX_MSG(CNewIssuanceOIDDlg)
  52. virtual BOOL OnInitDialog();
  53. afx_msg void OnChangeNewOidName();
  54. afx_msg void OnChangeNewOidValue();
  55. virtual void OnCancel();
  56. virtual void OnOK();
  57. afx_msg void OnClickedURL (NMHDR* pNMHDR, LRESULT* pResult);
  58. afx_msg void OnChangeCpsEdit();
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. private:
  62. const CString m_originalCPSValue;
  63. const CString m_originalOidFriendlyName;
  64. CString m_szOriginalOID;
  65. const bool m_bEdit;
  66. bool m_bDirty;
  67. bool m_bInInitDialog;
  68. };
  69. //{{AFX_INSERT_LOCATION}}
  70. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  71. #endif // !defined(AFX_NEWISSUANCEOIDDLG_H__6DC0B725_094F_4960_9C8F_417BF7D4474D__INCLUDED_)