InputString.h
上传用户:haifei
上传日期:2022-07-20
资源大小:77k
文件大小:1k
源码类别:

网络编程

开发平台:

Visual C++

  1. #if !defined(AFX_INPUTSTRING_H__B5FDDB20_7AE4_11D1_9134_34AE09C10000__INCLUDED_)
  2. #define AFX_INPUTSTRING_H__B5FDDB20_7AE4_11D1_9134_34AE09C10000__INCLUDED_
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif // _MSC_VER >= 1000
  6. // InputString.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CInputString dialog
  10. class CInputString : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CInputString(CWnd* pParent = NULL);   // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CInputString)
  17. enum { IDD = IDD_INPUT_STRING };
  18. CString m_Prompt;
  19. CString m_InputString;
  20. //}}AFX_DATA
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CInputString)
  24. protected:
  25. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. int Run (char *title, char *prompt, CString *string) ;
  30. protected:
  31. CString TitleString ;
  32. // Generated message map functions
  33. //{{AFX_MSG(CInputString)
  34. virtual BOOL OnInitDialog();
  35. //}}AFX_MSG
  36. DECLARE_MESSAGE_MAP()
  37. };
  38. //{{AFX_INSERT_LOCATION}}
  39. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  40. #endif // !defined(AFX_INPUTSTRING_H__B5FDDB20_7AE4_11D1_9134_34AE09C10000__INCLUDED_)