-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// InputDlg.cpp : implementation file | ||
// | ||
|
||
#include "stdafx.h" | ||
#include "twaintest.h" | ||
#include "InputDlg.h" | ||
|
||
#ifdef _DEBUG | ||
#define new DEBUG_NEW | ||
#undef THIS_FILE | ||
static char THIS_FILE[] = __FILE__; | ||
#endif | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CInputDlg dialog | ||
|
||
|
||
CInputDlg::CInputDlg(CWnd* pParent /*=NULL*/) | ||
: CDialog(CInputDlg::IDD, pParent) | ||
{ | ||
//{{AFX_DATA_INIT(CInputDlg) | ||
m_EditStr = _T(""); | ||
//}}AFX_DATA_INIT | ||
} | ||
|
||
|
||
void CInputDlg::DoDataExchange(CDataExchange* pDX) | ||
{ | ||
CDialog::DoDataExchange(pDX); | ||
//{{AFX_DATA_MAP(CInputDlg) | ||
DDX_Text(pDX, IDC_EDIT1, m_EditStr); | ||
//}}AFX_DATA_MAP | ||
} | ||
|
||
|
||
BEGIN_MESSAGE_MAP(CInputDlg, CDialog) | ||
//{{AFX_MSG_MAP(CInputDlg) | ||
// NOTE: the ClassWizard will add message map macros here | ||
//}}AFX_MSG_MAP | ||
END_MESSAGE_MAP() | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CInputDlg message handlers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#if !defined(AFX_INPUTDLG_H__04EC5F80_7364_11D3_9160_A234B585301E__INCLUDED_) | ||
#define AFX_INPUTDLG_H__04EC5F80_7364_11D3_9160_A234B585301E__INCLUDED_ | ||
|
||
#if _MSC_VER > 1000 | ||
#pragma once | ||
#endif // _MSC_VER > 1000 | ||
// InputDlg.h : header file | ||
// | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// CInputDlg dialog | ||
|
||
class CInputDlg : public CDialog | ||
{ | ||
// Construction | ||
public: | ||
CInputDlg(CWnd* pParent = NULL); // standard constructor | ||
|
||
// Dialog Data | ||
//{{AFX_DATA(CInputDlg) | ||
enum { IDD = IDD_DIALOG_INPUT }; | ||
CString m_EditStr; | ||
//}}AFX_DATA | ||
|
||
|
||
// Overrides | ||
// ClassWizard generated virtual function overrides | ||
//{{AFX_VIRTUAL(CInputDlg) | ||
protected: | ||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support | ||
//}}AFX_VIRTUAL | ||
|
||
// Implementation | ||
protected: | ||
|
||
// Generated message map functions | ||
//{{AFX_MSG(CInputDlg) | ||
// NOTE: the ClassWizard will add member functions here | ||
//}}AFX_MSG | ||
DECLARE_MESSAGE_MAP() | ||
}; | ||
|
||
//{{AFX_INSERT_LOCATION}} | ||
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. | ||
|
||
#endif // !defined(AFX_INPUTDLG_H__04EC5F80_7364_11D3_9160_A234B585301E__INCLUDED_) |