objwnd.cpp
来自「一款国产的8051模拟器(全部源代码) 本软件是一款8051模拟器」· C++ 代码 · 共 70 行
CPP
70 行
// ObjWnd.cpp : implementation file
//
#include "stdafx.h"
#include "MDIDemo.h"
#include "ObjWnd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ObjWnd
ObjWnd::ObjWnd()
{
}
ObjWnd::~ObjWnd()
{
}
BEGIN_MESSAGE_MAP(ObjWnd, CWnd)
//{{AFX_MSG_MAP(ObjWnd)
ON_WM_RBUTTONDBLCLK()
ON_WM_RBUTTONDOWN()
ON_WM_CREATE()
ON_WM_LBUTTONUP()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// ObjWnd message handlers
void ObjWnd::OnRButtonDblClk(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
CWnd::OnRButtonDblClk(nFlags, point);
}
void ObjWnd::OnRButtonDown(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
CWnd::OnRButtonDown(nFlags, point);
}
int ObjWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CWnd::OnCreate(lpCreateStruct) == -1)
return -1;
// TODO: Add your specialized creation code here
return 0;
}
void ObjWnd::OnLButtonUp(UINT nFlags, CPoint point)
{
// TODO: Add your message handler code here and/or call default
CWnd::OnLButtonUp(nFlags, point);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?