-
1. 新建一个空的Win32项目(假设新建项目名称为SixthProj) 设置Win32应用程序向导的“应用程序设置”选项卡,“应用程序类型”项选择“Windo...
1. 新建一个空的Win32项目(假设新建项目名称为SixthProj) 设置Win32应用程序向导的“应用程序设置”选项卡,“应用程序类型”项选择“Windows应用程序”,“附加选项”部分选择“空项目”复选框。 VC++ .NET会为该项目新建一个解决方案,并在项目文件夹下产生四个文件:SixthProj.sln是解决方案管理文件,SixthProj是项目管理文件,SixthProj.ncb是项目数据库文件,SixthProj.suo是用户选项文件(它是一个隐藏文件,目前可以忽略) 2. 向项目添加一个新的cpp文件 3. 编写代码 通过设置WNDCLASS变量的lpszMenuName属性实现自动创建菜单操作 响应WM_COMMAND消息时处理各种菜单消息 4. 编译、执行程序-1. A new space projects Win32 (assuming the name of the new projects SixthProj) to install Win32 applications Wizard "application program" tab, "application type" choice "Windows Applications", "additional options" some chose to "empty item" check box. VC.NET project will be a new solution, and the project folder produced four documents : SixthProj.sln is document management solutions, SixthProj project management, project SixthProj.ncb database files, users SixthProj.suo options paper (it is a hidden files that can be ignored) 2. to add a new item to the cpp file 3. write code#
- 2022-08-03 14:11:26下载
- 积分:1
-
一种罕见的Authorware模板。包括时间,菜单等有框架。
一套网少有的authorware模板。包含计时,菜单,还有框架-a rare authorware template. Include time, menu, etc. There framework.
- 2022-02-26 23:30:45下载
- 积分:1
-
在VCKBASE上读到《自绘菜单的实现》[作者:querw]。应用的我自己正在进行的工程后发现效果不错,可是存在许多问题。整个类的设计方面存在很多缺陷(先天,后
在VCKBASE上读到《自绘菜单的实现》[作者:querw]。应用的我自己正在进行的工程后发现效果不错,可是存在许多问题。整个类的设计方面存在很多缺陷(先天,后天的),存在的主要问题如下-read "menu drawn from the realization" [Author : querw]. Application of my own ongoing projects was found that the effects good, but there are many problems. Throughout the design category there are many defects (congenital and acquired), the main problems are as follows
- 2023-04-27 18:10:03下载
- 积分:1
-
很好看的菜单控件。有源代码及演示。
很好看的菜单控件。有源代码及演示。-good look at the menu controls. Active code and demonstrate.
- 2022-03-11 22:34:49下载
- 积分:1
-
实现minigui菜单 选项 多选框 复选框
实现minigui菜单 选项 多选框 复选框 -Menu options to achieve minigui checkbox checkbox
- 2022-06-12 19:27:47下载
- 积分:1
-
一个程序来计算阶乘,输入范围一内的所有数,然后结果…
一个计算阶乘的程序,输入范围一内的所有的数的阶乘都可以显示!但还有些小问题请高手指点!-A program to count factorial, inputing all the number in range one,then the result of it may show! But there are some questions inviting the master-hand finger out.
- 2022-03-07 20:08:57下载
- 积分:1
-
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
-
数值分析课件的作业,有助你在课外学习数值分析课程。多多支持...
数值分析课件的作业,有助你在课外学习数值分析课程。多多支持-operations will help you in extra-curricular learning numerical analysis courses. Generous support
- 2022-02-05 01:21:39下载
- 积分:1
-
Combobox使用
Combobox控件VC编程
- 2022-08-14 06:47:12下载
- 积分:1
-
一个子类的源代码,包含菜单、MDI窗体背景等8个演示程序
一个子类的源代码,包含菜单、MDI窗体背景等8个演示程序 -a subclass of the source code contains the menu, MDI Form 8 background Demonstration Program
- 2022-03-11 22:08:39下载
- 积分:1