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

📄 stdafx.cpp

📁 解决坐标的串口程序 解决坐标的串口程序
💻 CPP
字号:
// stdafx.cpp : source file that includes just the standard includes
//	SerialPort.pch will be the pre-compiled header
//	stdafx.obj will contain the pre-compiled type information

#include "stdafx.h"

/*
自定义消息可分为四步
1、在stdafx.h中加入一行代码
#define WM_MY_MESSAGE WM_USER+1  //定义自已的消息
2、在xxxDlg.h(xxx表示你建立的项目名)中加入
 afx_msg LRESULT OnMyMessage(WPARAM wParam, LPARAM lParam); //用于对自定义消息的处理(作为CxxxDlg类的成员函数)
3、在xxxDlg.cpp中加入 
ON_MESSAGE(WM_MY_MESSAGE,OnMyMessage) //用于将消息与消息处理函数联系起来(注意:此行代码应加到BEGIN_MESSAGE_MAP()和END_MESSAGE_MAP()之间)。
4、在xxxDlg.cpp中加入
LRESULT CtestMessageDlg::OnMyMessage(WPARAM wParam, LPARAM lParam) 
{
 ....
}//上述代码为消息处理函数的具体实现




*/

⌨️ 快捷键说明

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