forked from JACoders/OpenJK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetstring.h
51 lines (40 loc) · 1.25 KB
/
getstring.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#if !defined(AFX_GETSTRING_H__E76C376A_6584_419C_A9E7_A49BF2A18494__INCLUDED_)
#define AFX_GETSTRING_H__E76C376A_6584_419C_A9E7_A49BF2A18494__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GetString.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CGetString dialog
class CGetString : public CDialog
{
// Construction
public:
CGetString(LPCSTR pPrompt, CString *pFeedback, LPCSTR psDefault = NULL, CWnd* pParent = NULL);
// Dialog Data
//{{AFX_DATA(CGetString)
enum { IDD = IDD_DIALOG_GETSTRING };
CString m_strEditBox;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGetString)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CString *m_pFeedback;
LPCSTR m_pPrompt;
LPCSTR m_pDefault;
// Generated message map functions
//{{AFX_MSG(CGetString)
virtual BOOL OnInitDialog();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GETSTRING_H__E76C376A_6584_419C_A9E7_A49BF2A18494__INCLUDED_)