rename.cpp

来自「该源代码实现了局域网内的信息传递、文件传输」· C++ 代码 · 共 54 行

CPP
54
字号
// ReName.cpp : implementation file
//

#include "stdafx.h"
#include "BQQ.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("");
	//}}AFX_DATA_INIT
}


void CReName::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CReName)
	DDX_Text(pDX, IDC_NEWNAME, m_NewName);
	DDV_MaxChars(pDX, m_NewName, 12);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CReName, CDialog)
	//{{AFX_MSG_MAP(CReName)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CReName message handlers

BOOL CReName::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	m_NewName = "";
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?