📄 testdialogbar.cpp
字号:
// CTestDialogBar.cpp : implementation file
//
#include "stdafx.h"
#include "Test.h"
#include "TestDialogBar.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTestDialogBar dialog
CTestDialogBar::CTestDialogBar(CWnd* pParent /*=NULL*/)
{
//{{AFX_DATA_INIT(CTestDialogBar)
m_Test = _T("");
//}}AFX_DATA_INIT
}
void CTestDialogBar::DoDataExchange(CDataExchange* pDX)
{
CDialogBar::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CTestDialogBar)
DDX_Text(pDX, IDC_TEST_STATIC, m_Test);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CTestDialogBar, CDialogBar)
//{{AFX_MSG_MAP(CTestDialogBar)
ON_COMMAND(ID_EDIT_TEST, OnEditTest)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTestDialogBar message handlers
void CTestDialogBar::OnEditTest()
{
// TODO: Add your command handler code here
m_Test = TEXT("收到WM_COMMAND命令消息");
UpdateData(FALSE);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -