自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(0)
  • 资源 (22)
  • 收藏
  • 关注

空空如也

串口调试助手基于VC2015和Boost ASIO的源代码

使用VC2015和Boost ASIO库中的串口库实现的串口调试助手,附带已编译的可执行文件,界面简洁实用,若要重新编译该工程需要Boost 1.59以上版本的ASIO串口库头文件和Boost的库文件。可以配置波特率、停止位、串口号等参数,也有手动发送和定时自动发送的功能,还有自动接收串口数据存文件并显示的功能。用了大量的C++11,C++14和C++17的新特性,该工程有很多实现方法可供初学者借鉴。

2017-11-12

串口调试助手VC2010源代码

基于VC2010实现的串口调试助手源代码。将Windows串口API封装成类,既可以使用MFC消息方式接收串口数据,也可以使用Windows事件方式接收,数据发送接收的功能框架已经做好,可以很方便地在其上增加扩展自己的需要的功能。没有使用微软自带的控件MSComm,因为该控件需要注册,不便于工程移植和可执行文件发布。现有可以配置波特率、停止位、串口号等参数的接口,也有手动发送和定时自动发送的功能,还有自动接收串口数据显示的功能。

2017-11-12

串口调试助手C#源代码

用C#写的串口调试助手源代码,VS2010工程,内有可执行文件可直接使用,也可以作为自己开发的串口程序的框架使用。现有可以配置波特率、停止位、串口号等参数的接口,也有手动发送和定时自动发送的功能,还有自动接收串口数据存文件并显示的功能。

2017-11-12

串口枚举类

一个简单易用的串口枚举类.可以枚举出系统内所有曾用过的串口号.可以选择只枚举物理串口,或者枚举已存在的串口,屏蔽未使用的虚拟串口.代码已经封装成类,可以与组合框控件或列表框控件关联,即可将系统中可用的串口资源显示其中,省却了使用USB类的虚拟串口时,让用户从设备管理器看当前可用串口再选择软件中的串口号这一麻烦。

2016-07-20

内存对话框

内存对话框的对话框模板资源建立在内存中,而不是通过资源编辑器建立。这样,生成对话框不用操作资源编辑器,不用选用控件,不用映射对话框类,直接在代码中引用cpp文件,定义一个变量,就可以显示一个对话框获取用户输入或者显示程序处理进度,类似于VS自带的文件对话框,方便快捷,适用于想用很简单的对话框而又不想使用对话框编辑器去建立对话框模板的情形。

2016-07-20

使用GDI+的一个很漂亮的LCD控件

一个很漂亮的LCD控件,需要使用GDI+。可以选择采用7段或16段数码管形式,可以显示ANSI英文字符,可以动态显示时间,可以显示圆角或椭圆边框,可以具有毛玻璃效果,可以具有渐变色彩及背景,使用相当方便,效果非常完美。使用VS2010编译调试通过,基于对话框的demo。

2016-07-20

采用DirectDraw的H264解压缩源代码和YUV视频播放源代码

采用DirectDraw的H264解压缩源代码和YUV视频播放源代码 从FFMPEG中摘录出来并且调试通过的H264解码的源代码(c文件),没使用FFMPEG编译出来的lib和dll库,可以直接在VS2010环境下单步调试以跟踪解压缩的所用过程细节,对于想学习和掌握H264编解码的标准的同学们非常有用. 读取h264格式的文件并进行实时解压缩和播放,解压缩后的图像格式是YUV,在一个对话框的控件中逐帧显示,程序在VS2010下编译链接通过,可直接使用. 视频播放是采用窗口式的基于DirectDraw方法,基于DirectDraw的图像播放是Windows平台下很高效的方法,已经封装成CDirectDraw类,可以很方便地直接应用到别的图像和视频处理工程中。 使用时打开h264文件或yuv文件(工程中有test.h264,encode.h264和FOREMAN_176x144_15.yuv三个测试文件),单击[Play File]即可进行播放,播放的帧率可以更改定时器时间调整。可以很方便的更改图像的宽度和高度以便播放不同分辨率的视频。

2016-07-20

透明桌面日历完整源代码

不影响鼠标操作,能穿透窗口,带有完整的源代码,是一个托盘应用程序,用Visual C++6.0实现

2010-12-26

VC中MSFlexGrid内嵌EDIT、COMBOBOX的实现方法

When I had to use the flexgrid for the first time, I was too frustrated to find out that no proper documentation existed on the net. The ones available were too complicated for me to understand. And the ones that were easy were in VB. This article is to help persons who are going to use the flexgrid in their applications using VC++. Also take a look at the Warning note at the end of this article.

2010-12-26

网格控件Virtual Grid Control 1.4

It is a very simple grid. It is a custom control derived from CWnd. It is inspired by the excellent Delphi TGridView component written by Roman Mochalov. Header of the grid is a separate logical object (separate from non-fixed, "working" part of the grid). Non-fixed part of the grid can work only in virtual mode, i.e., data for display is stored outside the grid and loaded only by query when the grid needs repainting. That is why the grid is called "virtual". If you don't understand my explanation of control's "virtuality", then I'd recommend you to read "Virtual list view description" of CListCtrl in the MSDN help

2010-12-26

如何实现一个可滚动子对话框

Many times it happened to me (and I hope to you too!) the need for a kind of child dialog, to use as a control inside a more bigger dialog or window or view etc. Filling this child dialog of controls is easy. Set the size of it to fit inside the parent window is not so easy. So, here is the scrollable child dialog, which i found veeeeery useful in my applications

2010-12-26

一个多彩列表框控件类XLISTBox

作界面的素材 XListBox - Owner-draw CListBox with selectable text and background colors

2010-12-26

一个MFC颜色拾取器控件

XColorDialog - an MFC color picker control that displays a color hexagon and a color spectrum

2010-12-26

LedButton按钮状态控件

The motivation in writing this CLedButton control was having a LED control that is: Read-Only LED control. Capable of dealing with more than the traditional two-states. Capable of signaling "activity" (to turn off automatically after a controllable timeout). Capable to control the transition from one state to another. (The transition from one state into another to be externally controlled.) Use LED icons loaded from resource files. Flicker-free control.

2010-12-26

CHistogramCtrl,一个画曲线的控件

The initial idea for doing this code was put into my mind when my love asked me to go to a clinic in order to check out my heart. You know, doctors have got some sort of plotters that plot the information obtained from the heart on a piece of paper as a histogram. The idea came into my mind from there! This control is sincerely dedicated to my love, Cindy.

2010-12-26

CPPToolTip自定义控件提示类

为窗口的不同的控件增加形形色色的提示,使你的窗口丰富多彩

2010-12-26

ImageStone一款图像处理软件(含完整代码)

ImageStone is a powerful C++ class library for image manipulation. It is written in pure C++ and is easily to portable. Its features include load/save (supports BMP, GIF, JPG, PNG, TIF, ICO, TGA, PCX, PSD...), display, histogram, undo/redo, and image transformation with over 100 predefined effects

2010-12-26

CRectTracker类(即俗称的橡皮筋)的使用

CRectTracker(俗称“橡皮筋”类)是一个非常有意思的类。你在Windows中经常看到这样的情况:它可以用做显示边界,你也可以扽它的八个角用来放大缩小,或做框选使用。如何通过编程来实现这种功能呢?这就是CRectTracker类的作用。

2010-12-26

D3D MFC单文档架构程序示例

单文档框架下Direct3D应用程序的架构。

2010-12-26

Nvidia显卡下30b颜色显示

Nvidia的某些显卡支持30位显色显示,每个分量都是10b的,有1024中色深,一共有10亿色,要让30b颜色显示出来,还需要接10b显示器了。这里给出例子。

2010-12-26

如何使用列表控件虚模式

使用列表控件显示含有大量数据的表格时可以节省资源和存储空间,加快显示速度。虚模式情况下,只有程序需要显示时才加以显示,不用预先存储数据。

2010-12-26

TMS320C6000系列下mpeg-2视频压缩标准实现的源代码

TMS320C6000系列下mpeg-2视频压缩标准实现的源代码 ,比较适用,稍微修改就可以应用到自己设计的系统中。

2009-06-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除