dlgoperator.cpp

来自「主要功能 企业仓库管理系统由基本信息管理模块、入库管理模块、库存管理模块、查询」· C++ 代码 · 共 59 行

CPP
59
字号
// DlgOperator.cpp : implementation file
//

#include "stdafx.h"
#include "aaa.h"
#include "DlgOperator.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDlgOperator1 dialog


CDlgOperator1::CDlgOperator1(CWnd* pParent /*=NULL*/)
	: CDialog(CDlgOperator1::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDlgOperator1)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CDlgOperator1::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDlgOperator1)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDlgOperator1, CDialog)
	//{{AFX_MSG_MAP(CDlgOperator1)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDlgOperator1 message handlers

void CDlgOperator1::OnOK()
{
//
}

BOOL CDlgOperator1::PreTranslateMessage(MSG* pMsg) 
{
	if (pMsg->message ==WM_KEYDOWN)
		if (pMsg->wParam == 13)
			pMsg->wParam = 9;
		else if (pMsg->wParam == VK_ESCAPE)
			return true;
	return CDialog::PreTranslateMessage(pMsg);
}

⌨️ 快捷键说明

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