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.

74 lines
2.2 KiB

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