文件名称:static_led_demo
- 所属分类:
- Static控件
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 32kb
- 下载次数:
- 0次
- 提 供 者:
- ultraq******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
非原创
模拟led闪烁控件
用picture控件实现。双缓冲,很不错。
源码是个小例子
以下是给新手的提示:
使用的时候仅需要led.h和led.cpp
最简单的led闪烁:画个picture控件,控件定义个CLED 的控制变量
在对话框初始oninitdialog里设定led初始状态(setled),然后用timer定时,在ontimer里用ping这个函数点亮就可以了。-Non-original analog led blinking picture controls used to achieve control. Double buffering, is pretty good. Source is a small example of the following tips to the novice: the use of the time led.h and requires only the simplest led.cpp blinking led: draw a picture control, control the definition of a CLED control variables in the initial dialog box located in OnInitDialog set led the initial state (setled), and then use the timer timing, ontimer spent in this function ping lit it.
模拟led闪烁控件
用picture控件实现。双缓冲,很不错。
源码是个小例子
以下是给新手的提示:
使用的时候仅需要led.h和led.cpp
最简单的led闪烁:画个picture控件,控件定义个CLED 的控制变量
在对话框初始oninitdialog里设定led初始状态(setled),然后用timer定时,在ontimer里用ping这个函数点亮就可以了。-Non-original analog led blinking picture controls used to achieve control. Double buffering, is pretty good. Source is a small example of the following tips to the novice: the use of the time led.h and requires only the simplest led.cpp blinking led: draw a picture control, control the definition of a CLED control variables in the initial dialog box located in OnInitDialog set led the initial state (setled), and then use the timer timing, ontimer spent in this function ping lit it.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Led.cpp
Led.h
LedDemo.cpp
LedDemo.dsp
LedDemo.dsw
LedDemo.h
LedDemo.rc
LedDemoDoc.cpp
LedDemoDoc.h
LedDemoView.cpp
LedDemoView.h
MainFrm.cpp
MainFrm.h
Release
.......\LedDemo.exe
res
...\LedDemo.rc2
...\vssver.scc
resource.h
StdAfx.cpp
StdAfx.h
TestDlg.cpp
TestDlg.h
Led.h
LedDemo.cpp
LedDemo.dsp
LedDemo.dsw
LedDemo.h
LedDemo.rc
LedDemoDoc.cpp
LedDemoDoc.h
LedDemoView.cpp
LedDemoView.h
MainFrm.cpp
MainFrm.h
Release
.......\LedDemo.exe
res
...\LedDemo.rc2
...\vssver.scc
resource.h
StdAfx.cpp
StdAfx.h
TestDlg.cpp
TestDlg.h