-
1.BOOL OnCommsCreate(CWnd* pParentWnd)
创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为t...
1.BOOL OnCommsCreate(CWnd* pParentWnd)
创建串口,本DLL同时创建5个串口。pParentWnd为窗口指针,一般为this。
2. BOOL OnComportOpen()
根据串口设置文件中的设置参数,打开多串口。
3.void OnCommSend(unsigned int uiCom, CString sSendData, unsigned int uiKind)
往指定串口发送数据。其中uiCom为指定的串口,注意串口1的uiCom为0;sSendData为要发送的字符串; uiKind: 发送数据类型:0:原始数据 1:加回车符 2:加校验和。
4.void OnMscommsSet()
打开串口设置界面,改变串口设置,并保存到设置文件中。
5.BOOL OnComportTimerProcess(CString strProcess[MaxPort])
判断串口接收的一组数据是否已经接收完。
6. BOOL OnPopupDialog()
打开串口收发数据显示调试界面。
7. BOOL OnGetPortUse(unsigned int uiCom) .
判断指定串口是否使用。
8. BOOL OnGetPortExit(unsigned int uiCom)
判断指定串口在本机上是否存在。
9. void OnPortClose(unsigned int uiCom)
关闭指定串口。
10. void OnPortOpen(unsigned int uiCom)
打开指定串口。
11. void OnCloseAllPorts()
关闭所有串口。
12. void OnOpenAllPorts()
打开所有串口。
-1.BOOL OnCommsCreate (CWnd* pParentWnd) Serial create the DLL while creating five serial. PParentWnd pointer to the window, but generally this. 2. BOOL OnComportOpen () Serial document under the
- 2022-01-22 14:42:47下载
- 积分:1
-
登录筛选
此 代码 很有用 用于筛选 基于 用户 登录 条目 是作.
当 we memasukana 用户 然后 一些 MenuStrip 将 不 出现, 但 当 we 输入的用户 adminisistrator 然后 所有 MenuStrip 显示.
- 2023-06-23 20:15:04下载
- 积分:1
-
一个自定义菜单项的源码
一个自定义菜单项的源码-A custom menu item source
- 2022-03-26 19:10:14下载
- 积分:1
-
这个CMenu类实现为下拉菜单添加背景图片.
这个CMenu类实现为下拉菜单添加背景图片.
- 2022-05-01 00:36:01下载
- 积分:1
-
a popup menu ActiveX control, it enables client application to insert or delete...
a popup menu ActiveX control, it enables client application to insert or delete menu items dynamically at run-time.-a popup menu ActiveX control, it enables client application to insert or DELE te menu items dynamically at run-time.
- 2022-02-25 03:12:24下载
- 积分:1
-
对菜单的管理有如神助相当好用的菜单管理源代码
对菜单的管理有如神助相当好用的菜单管理源代码-right menu management right big very user-friendly menu for managing source code
- 2022-01-26 04:20:23下载
- 积分:1
-
使用VB同样可以制作带图标的菜单
使用VB同样可以制作带图标的菜单-use the same icon can be produced with the menu
- 2022-01-31 04:33:39下载
- 积分:1
-
a good XP style similar pop
一个很好的类似XP风格的弹出菜单,可以自己添加菜单图标,同时菜单项目选择后图标可以更换显示选择状态。-a good XP style similar pop-up menu, can add their own menu icon, choose the menu item icon can be replaced after the selection show.
- 2022-10-13 10:45:03下载
- 积分:1
-
可以自己设定颜色的菜单
可以自己设定颜色的菜单-The menu whichs color can be setted
- 2022-01-31 13:51:12下载
- 积分:1
-
将字符串转化ASCII码,解决一些web系统的中的中文问题,大家可以试下...
将字符串转化ASCII码,解决一些web系统的中的中文问题,大家可以试下-string into ASCII codes, solve some of the web system to the Chinese problem, we can try next
- 2022-12-12 09:45:04下载
- 积分:1