-rw-r--r-- | HostNameDlg.cpp | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/HostNameDlg.cpp b/HostNameDlg.cpp new file mode 100644 index 0000000..19e3a07 --- a/dev/null +++ b/HostNameDlg.cpp | |||
@@ -0,0 +1,49 @@ | |||
1 | // HostNameDlg.cpp : implementation file | ||
2 | // | ||
3 | |||
4 | #include "stdafx.h" | ||
5 | #include "Dipstick.h" | ||
6 | #include "HostNameDlg.h" | ||
7 | |||
8 | #ifdef _DEBUG | ||
9 | #define new DEBUG_NEW | ||
10 | #undef THIS_FILE | ||
11 | static char THIS_FILE[] = __FILE__; | ||
12 | #endif | ||
13 | |||
14 | ///////////////////////////////////////////////////////////////////////////// | ||
15 | // CHostNameDlg dialog | ||
16 | |||
17 | |||
18 | CHostNameDlg::CHostNameDlg(CWnd* pParent /*=NULL*/) | ||
19 | : CDialog(CHostNameDlg::IDD, pParent) | ||
20 | { | ||
21 | //{{AFX_DATA_INIT(CHostNameDlg) | ||
22 | m_Host = _T(""); | ||
23 | //}}AFX_DATA_INIT | ||
24 | } | ||
25 | |||
26 | |||
27 | void CHostNameDlg::DoDataExchange(CDataExchange* pDX) | ||
28 | { | ||
29 | CDialog::DoDataExchange(pDX); | ||
30 | //{{AFX_DATA_MAP(CHostNameDlg) | ||
31 | DDX_Text(pDX, IDC_HOST, m_Host); | ||
32 | //}}AFX_DATA_MAP | ||
33 | } | ||
34 | |||
35 | |||
36 | BEGIN_MESSAGE_MAP(CHostNameDlg, CDialog) | ||
37 | //{{AFX_MSG_MAP(CHostNameDlg) | ||
38 | ON_WM_HELPINFO() | ||
39 | //}}AFX_MSG_MAP | ||
40 | END_MESSAGE_MAP() | ||
41 | |||
42 | ///////////////////////////////////////////////////////////////////////////// | ||
43 | // CHostNameDlg message handlers | ||
44 | |||
45 | BOOL CHostNameDlg::OnHelpInfo(HELPINFO* pHelpInfo) | ||
46 | { | ||
47 | WinHelp(IDD|0x20000l); | ||
48 | return TRUE; | ||
49 | } | ||