📄 comnotifywnd.cpp
字号:
// ComNotifyWnd.cpp : implementation file
//
#include "stdafx.h"
#include "矩阵控制器.h"
#include "ComNotifyWnd.h"
#include "SerialCom.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CComNotifyWnd
CComNotifyWnd::CComNotifyWnd(CSerialCom *pCom)
{
m_pCom=pCom;
}
CComNotifyWnd::~CComNotifyWnd()
{
}
BEGIN_MESSAGE_MAP(CComNotifyWnd, CWnd)
//{{AFX_MSG_MAP(CComNotifyWnd)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
ON_MESSAGE(WM_COMMNOTIFY,OnReceive)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CComNotifyWnd message handlers
LONG CComNotifyWnd::OnReceive(UINT wParam,LONG lParam)
{
m_pCom->OnReceive();
return TRUE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -