⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 statictop.cpp

📁 一个串口通信的例子
💻 CPP
字号:
// StaticTop.cpp : implementation file
//

#include "stdafx.h"
#include "SCommTest.h"
#include "StaticTop.h"

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

/////////////////////////////////////////////////////////////////////////////
// CStaticTop

CStaticTop::CStaticTop()
{
}

CStaticTop::~CStaticTop()
{
}


BEGIN_MESSAGE_MAP(CStaticTop, CStatic)
	//{{AFX_MSG_MAP(CStaticTop)
	ON_WM_LBUTTONDOWN()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CStaticTop message handlers

void CStaticTop::OnLButtonDown(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default
//	if((nFlags & MK_LBUTTON)==MK_LBUTTON)//
//	{
//		MessageBox("我按了左键!");
//	}
	CStatic::OnLButtonDown(nFlags, point);
}

⌨️ 快捷键说明

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