medit.cpp

来自「我自己写的一个基于对话框的计算器」· C++ 代码 · 共 51 行

CPP
51
字号
// Medit.cpp : implementation file
//

#include "stdafx.h"
#include "caculator.h"
#include "Medit.h"

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

/////////////////////////////////////////////////////////////////////////////
// CMedit

CMedit::CMedit()
{
}

CMedit::~CMedit()
{
}


BEGIN_MESSAGE_MAP(CMedit, CEdit)
	//{{AFX_MSG_MAP(CMedit)
	ON_WM_RBUTTONDOWN()
	ON_WM_LBUTTONDOWN()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CMedit message handlers

void CMedit::OnRButtonDown(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default
	
//	CEdit::OnRButtonDown(nFlags, point);
}

void CMedit::OnLButtonDown(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default
	
//	CEdit::OnLButtonDown(nFlags, point);
}


⌨️ 快捷键说明

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