-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRename.cpp
52 lines (40 loc) · 1.04 KB
/
Rename.cpp
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
52
// Rename.cpp : implementation file
//
#include "stdafx.h"
#include "rfvfs.h"
#include "Rename.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CRename dialog
CRename::CRename(CWnd* pParent /*=NULL*/)
: CDialog(CRename::IDD, pParent)
{
//{{AFX_DATA_INIT(CRename)
m_newname = _T("");
m_oldname = _T("");
//}}AFX_DATA_INIT
}
void CRename::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CRename)
DDX_Text(pDX, IDC_EDIT1, m_newname);
DDX_Text(pDX, IDC_EDIT2, m_oldname);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRename, CDialog)
//{{AFX_MSG_MAP(CRename)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRename message handlers
int CRename::DoModal()
{
// TODO: Add your specialized code here and/or call the base class
return CDialog::DoModal();
}