InputString.h
上传用户:haifei
上传日期:2022-07-20
资源大小:77k
文件大小:1k
- #if !defined(AFX_INPUTSTRING_H__B5FDDB20_7AE4_11D1_9134_34AE09C10000__INCLUDED_)
- #define AFX_INPUTSTRING_H__B5FDDB20_7AE4_11D1_9134_34AE09C10000__INCLUDED_
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- // InputString.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CInputString dialog
- class CInputString : public CDialog
- {
- // Construction
- public:
- CInputString(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CInputString)
- enum { IDD = IDD_INPUT_STRING };
- CString m_Prompt;
- CString m_InputString;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CInputString)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- public:
- int Run (char *title, char *prompt, CString *string) ;
- protected:
- CString TitleString ;
- // Generated message map functions
- //{{AFX_MSG(CInputString)
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_INPUTSTRING_H__B5FDDB20_7AE4_11D1_9134_34AE09C10000__INCLUDED_)