dlgstorageinfo.cpp

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

CPP
58
字号
// DlgStorageInfo.cpp : implementation file
//

#include "stdafx.h"
#include "aaa.h"
#include "DlgStorageInfo.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDlgStorageInfo1 dialog


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


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


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

/////////////////////////////////////////////////////////////////////////////
// CDlgStorageInfo message handlers

BOOL CDlgStorageInfo1::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 + -
显示快捷键?