📄 reatenewproject.cpp
字号:
// reateNewProject.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "reateNewProject.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CreateNewProject dialog
CreateNewProject::CreateNewProject(CWnd* pParent /*=NULL*/)
: CDialog(CreateNewProject::IDD, pParent)
{
//{{AFX_DATA_INIT(CreateNewProject)
m_Projectname = _T("");
//}}AFX_DATA_INIT
}
void CreateNewProject::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CreateNewProject)
DDX_Text(pDX, IDC_PROJECTNAME, m_Projectname);
DDV_MaxChars(pDX, m_Projectname, 10);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CreateNewProject, CDialog)
//{{AFX_MSG_MAP(CreateNewProject)
ON_EN_KILLFOCUS(IDC_PROJECTNAME, OnKillfocus)
ON_EN_SETFOCUS(IDC_PROJECTNAME, OnSetfocus)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CreateNewProject message handlers
void CreateNewProject::OnKillfocus()
{
// TODO: Add your control notification handler code here
SHSipPreference(AfxGetMainWnd()->m_hWnd,SIP_DOWN);
}
void CreateNewProject::OnSetfocus()
{
// TODO: Add your control notification handler code here
SHSipPreference(AfxGetMainWnd()->m_hWnd,SIP_UP);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -