|
|
Video Motion Detection Multi Thread Clas |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
In Digital Video Recording (DVR) System, one most important feature is the Video Motion Detection. Most DVR is consisted by multi video capture cards. The card number sometime will be up to 16. In order to make the system working more effectively and quickly, the best way is using Multi Thread method and each thread cooperate with one video capture card. In this way, system can monitor up 16 video motion alarm and not reduce the system performance.
在Digital Video Recording (DVR) 系统中,最重要的一个功能就是视频运动检测了。大多数DVR由多个视频捕捉卡组成。卡的数量有时要以达到16个。为了使系统运行地更快和理有效率,最好的方法就是使用多线程,第个线程负责一块视频捕捉卡。以这种方式,系统可以监视16个视频动作警告,也不会降低系统的性能。
来源: http://www.codeguru.com/multimedia/vid_mot.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Altering the Background and Text Color o |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Altering the Background and Text Color of a Control
修改一个控件的背景色和文本颜色
来源: http://www.codeguru.com/controls/EdiColor.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Extended OLEDB library : Ease of ADO, po |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Most of us know that OLEDB is the latest database technology that provides fastest data access on windows platform. However, many C++ programmers tend to avoid using raw OLEDB and prefer ADO in their development process. There are two main reasons for this. First of all, OLEDB interfaces (which are COM interfaces) are extremely complex and sparsely documented. They are neither convenient nor developer-friendly. So, we are left with other choice : use ATL consumer templates for OLEDB. These template classes are very powerful and high performance. However, they lack the flexibility and rich functionality provided by ADO. Many times one has to resort to ADO for some user interface operations such as binding a rowset to datagrid or other controls. This is because there is no direct way to bind an OLEDB rowset to a control
扩展的OLEDB库: ADO一样的简单易用,OLEDB一样强大的功能
我们中大部份人都知道OLEDB是在Windows平台上提供最快速的数据存取,最新的数据库技术。然而,许多C++程序员编程时尽量不使用OLEDB而是使用ADO.有两个主要的原因:首先,OLEDB接口(COM接口) 非常复杂并且sparsely documented。他们既不方便开发界面也不友好。因此,我们只有其他的选择: 使用ODBC ATL用户面板。这些面板类功能强大并且高效。然而,他们缺乏灵活性和由ADO提供的多功能性。许多次一个人为了形如绑定一个行集到数据网格或其他的控件事而求助于ADO的一些用户接口。这就是没有直接的方法绑定一个OLEDB 行集到一个控件的原因。
来源: http://www.codeguru.com/mfc_database/ODL.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
cloning objects in VB4/5/6 |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Shows the time-tested way of cloning objects in VB4/5/6. This method uses Friend Let properties to allow new objects to be built, even though some of their properties are read-only to the exterior world. Unfortunately, this methodology will die with the next release of VB.
演示了在 VB4/5/6中经过时间测试的复制对象的方法。这个方法使用Friend Let 属性来支持创建新对象,即使他们的属性对外界也是只读的。不幸的是,这个方法将不能在下一代VB中使用。
来源: http://www.mvps.org/vb/ |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Window Animation |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Ever get bored minimizing, maximizing, and restoring windows? Ever wanted to catch the user unaware and make him notice an app that's just that little bit special? Ever wanted to make a stealth program that literally slides into the background? Well, with the CWindowAnima class you can now animate the appearance and disappearance of windows in ways that are a little different from the norm. There are twelve effects in total, six "vanishing" effects and six opposite "appearing" effects. They include Blind, Melt, Wipe, Scatter4, Scatter6, SlideVanish, UnBlind, UnMelt, UnWipe, ReAssemble4, ReAssemble6, and SlideAppear.
曾经厌烦了最小化、最大化和恢复窗口吗?需要用户注意到一个只占据一点空间的应用程序吗?需要一个秘密应用程序,可以滑到背景后面吗?好,用CWindowAnima 类,你现在可以用一种独特的方式让应用程序在启动和运行时以动画的方式出现或隐藏。总供有12种效果,6个“隐藏”效果,和6个“显现”效果。它们包括Blind, Melt, Wipe, Scatter4, Scatter6, SlideVanish, UnBlind, UnMelt, UnWipe, ReAssemble4, ReAssemble6, 和 SlideAppear。
来源: http://www.codeguru.com/multimedia/WindowAnima.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
A General Purpose Ruler Control |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
The sample has no executable, so the source would have to be compiled; VC++6.0 automatically registers the control. Below is a list and description of the interfaces and how they may be utilized. The ruler itself consists of one CWnd derived class, CScale. The implementation is about 2000 lines of code, so I won't explain anything here. The function names are pretty intuitive, so you shouldn't have a problem running through them.
这个例子没有可执行文件,所以必须编译它们。 VC++6.0 会自动地注册这个控件。以下描述了接口,以及它们的使用方法。标尺控件本身由一个 CWnd 的派生类, CScale组成。实现大约是2000多行代码,所以我在这里没有解释很多。函数名字是很直观的,所以运行它们没有问题。
来源: http://www.codeguru.com/controls/rulercontrol.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Programmatically Invoking the OLEDB Data |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
I recently needed to allow a user to have the ability to configure a connection string for one of my applications that uses ADO. After searching relentlessly through the docs, there was absolutely no information available on how to do this, except for a knowledge base article (Q225132) that described a problem with the #import statements when going from MDAC 2.0 to 2.1. This spurred me into writing this short article to demonstrate how you can use the standard OLE DB Data link configuration dialog in your own applications.
用代码调用 OLEDB 数据连接配置对话框
我最近需要一个用户能够为我的ADO应用创建一个连接串。在docs中寻找之后,我发现根本没有可以这样做的信息,除了一个描述了这个问题的基于知识的文章(Q225132),问题是关于从MDAC 2.0到2。1的#import statements的.这刺激我写这篇短文示例怎样才能在你的应用中使用标准的 OLEDB 数据连接配置对话框。
来源: http://www.codeguru.com/mfc_database/datalink.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Blt away with images loaded from resourc |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Includes the CustomBlt module that supports two custom BitBlt functions -- TransBlt for transparent BitBlt's, and TileBlt to tile a bitmap across a surface. Also includes CPictureDC class which allows you to obtain an hDC from a VB Picture object, thus allowing you to Blt away with images loaded from resource files or anywhere else.
包括的CustomBlt 模块支持两个定制的BitBlt 函数-- TransBlt 用于透明BitBlt,TileBlt 用于在表面上平铺位图。也包括了CPictureDC 类,可以让你得到VB Picture 对象的 hDC ,这样可以让你用资源文件或其它来源的文件绘制图像。
来源: http://www.mvps.org/vb/ |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Starting Rendering Modes |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
This sample create an OpenGL rendering context in a multidocument / view framework and display the most simple representative object : a sphere. A formview on the left permits to check rendering options, like rendering modes (vertex, wireframe, faces), antialiasing, lighting, gouraud shading (in face and wireframe mode), lighting and back colors, scaling, animation (rotation).
这个例子在一个多文档/视图框架中创建一个OpenGL 绘制环境,并显示一个最简单的有代表性的物体:球体。在左边的视图窗体中可以设置绘制选项,如绘制模型(顶点、线框、面),反锯齿、光照、背景阴影(面和线框模式),光照和黑色,缩放,动画(旋转)。
来源: http://www.codeguru.com/opengl/start.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Dynamically Switchable Control Type |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
I frequently find a need to have a control that needs to be represented differently at run-time depending on various circumstances.
The control presented here can be switched at run-time between a number of controls including edit, combobox, static, and checkbox controls. Another advantage is that this control will contain both the label and the 'user' control items (edits/combos/etc), which makes it easier to work with (eg disable) pairs of labels and edit controls for instance
我经常需要一个控件在运行时根据环境以不同的方式来表示。
这里的这个控件可以在运行时在许多控件风格之间切换,包括编辑框、组合框,静态控件和复选框之间切换。另一个优点是这个控件可以包含标签和“用户”控件条目(编辑框/组合框/等等),这样使得它更容易使用标签和编辑框对。
来源: http://www.codeguru.com/controls/MultiCtrl.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
|
|
|