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.

61 lines
1.6 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1998.
  5. //
  6. // File: EdtStr.h
  7. //
  8. // Contents: a simple string edit dialog box
  9. //
  10. // Classes: CEditString
  11. //
  12. // History: 03-14-1998 stevebl Commented
  13. //
  14. //---------------------------------------------------------------------------
  15. #if !defined(AFX_EDTSTR_H__E95370C1_ADF8_11D1_A763_00C04FB9603F__INCLUDED_)
  16. #define AFX_EDTSTR_H__E95370C1_ADF8_11D1_A763_00C04FB9603F__INCLUDED_
  17. #if _MSC_VER >= 1000
  18. #pragma once
  19. #endif // _MSC_VER >= 1000
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CEditString dialog
  22. class CEditString : public CDialog
  23. {
  24. // Construction
  25. public:
  26. CEditString(CWnd* pParent = NULL); // standard constructor
  27. // Dialog Data
  28. //{{AFX_DATA(CEditString)
  29. enum { IDD = IDD_EDITSTRING };
  30. CString m_sz;
  31. CString m_szTitle;
  32. //}}AFX_DATA
  33. // Overrides
  34. // ClassWizard generated virtual function overrides
  35. //{{AFX_VIRTUAL(CEditString)
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. //{{AFX_MSG(CEditString)
  43. virtual BOOL OnInitDialog();
  44. afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  45. //}}AFX_MSG
  46. DECLARE_MESSAGE_MAP()
  47. };
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  50. #endif // !defined(AFX_EDTSTR_H__E95370C1_ADF8_11D1_A763_00C04FB9603F__INCLUDED_)