root/trunk/GetInputDlg.h

Revision 5, 1.4 kB (checked in by qbert, 6 years ago)

Initial ( and last :( ) commit

Line 
1 #if !defined(AFX_GETINPUTDLG_H__F5680CFD_571F_4D0B_8BC9_F8C5B9E7210B__INCLUDED_)
2 #define AFX_GETINPUTDLG_H__F5680CFD_571F_4D0B_8BC9_F8C5B9E7210B__INCLUDED_
3
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // GetInputDlg.h : header file
8 //
9
10 /////////////////////////////////////////////////////////////////////////////
11 // CGetInputDlg dialog
12
13 class CGetInputDlg : public CDialog
14 {
15 // Construction
16 public:
17     CGetInputDlg(const string& text,const string &defaultText = "",CWnd* wnd = NULL);   // standard constructor
18
19 // Dialog Data
20     //{{AFX_DATA(CGetInputDlg)
21     enum { IDD = IDD_GET_INPUT };
22     CElephantEdit m_edit;
23     CXTButton   m_ok;
24     CXTButton   m_cancel;
25     CString m_csValue;
26     CString m_text;
27     //}}AFX_DATA
28
29     string m_defaultText;
30    
31 // Overrides
32     // ClassWizard generated virtual function overrides
33     //{{AFX_VIRTUAL(CGetInputDlg)
34     protected:
35     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
36     //}}AFX_VIRTUAL
37
38 // Implementation
39 protected:
40
41     // Generated message map functions
42     //{{AFX_MSG(CGetInputDlg)
43     virtual BOOL OnInitDialog();
44     virtual void OnOK();
45     virtual void OnCancel();
46     //}}AFX_MSG
47     DECLARE_MESSAGE_MAP()
48 };
49
50 //{{AFX_INSERT_LOCATION}}
51 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
52
53 #endif // !defined(AFX_GETINPUTDLG_H__F5680CFD_571F_4D0B_8BC9_F8C5B9E7210B__INCLUDED_)
Note: See TracBrowser for help on using the browser.