📄 dlgwkinputtx4.cpp
字号:
// DlgWkInputTx4.cpp : implementation file
//
#include "stdafx.h"
#include "Kvip.h"
#include "DlgWkInputTx4.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgWkInputTx4 dialog
CDlgWkInputTx4::CDlgWkInputTx4(CWnd* pParent /*=NULL*/)
: CDialog(CDlgWkInputTx4::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgWkInputTx4)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CDlgWkInputTx4::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgWkInputTx4)
DDX_Control(pDX, IDC_NOTE, m_edNote);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgWkInputTx4, CDialog)
//{{AFX_MSG_MAP(CDlgWkInputTx4)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgWkInputTx4 message handlers
BOOL CDlgWkInputTx4::PreTranslateMessage(MSG* pMsg)
{
// TODO: Add your specialized code here and/or call the base class
if (pMsg->message == WM_KEYDOWN &&
pMsg->wParam == 27) //禁止ESC和Enter退出
return true;
return CDialog::PreTranslateMessage(pMsg);
}
void CDlgWkInputTx4::Reset()
{
m_edNote.SetWindowText(_T(""));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -