文件名称:RectTracker
介绍说明--下载内容来自于网络,使用问题请自行百度
MFC 带有一个 CRectTracker 类. 用来画出所谓的橡皮条矩形.
但在 WTL 里面, 没有对应的类. 所以,自己写了一个非常简单的 mix-in class, 在 WTL 里面使用, 将这个类作为您的窗口的基类即可让窗口具有画橡皮条矩形的行为.上载的压缩文件包含两个源文件, RectTracker.h 即为这个 mix-in class. SnapShotWnd.h 为使用这个类的一个窗口.
还有一张屏幕抓图, 从图片可以看出这个窗口的功能, 他实现类似透明窗口的功能. 注意那个虚线框, 就是 CRectTracker 画出来的.-MFC with a CRectTracker category. To draw of the so-called rubber rectangle. The WTL, there's no corresponding category. So they want to write a very simple mix-in class, the WTL is used to this category as your window so that the base class can be painted with rubber window the behavior of the rectangle. on the compressed file contains two sources, namely the RectTracker.h mix-in class. SnapShotWnd.h for the use of this kind of a window. Previously there a screen, pictures can be seen from the window of the function, he achieved similar functions transparent window . Note that dash is the CRectTracker painting.
但在 WTL 里面, 没有对应的类. 所以,自己写了一个非常简单的 mix-in class, 在 WTL 里面使用, 将这个类作为您的窗口的基类即可让窗口具有画橡皮条矩形的行为.上载的压缩文件包含两个源文件, RectTracker.h 即为这个 mix-in class. SnapShotWnd.h 为使用这个类的一个窗口.
还有一张屏幕抓图, 从图片可以看出这个窗口的功能, 他实现类似透明窗口的功能. 注意那个虚线框, 就是 CRectTracker 画出来的.-MFC with a CRectTracker category. To draw of the so-called rubber rectangle. The WTL, there's no corresponding category. So they want to write a very simple mix-in class, the WTL is used to this category as your window so that the base class can be painted with rubber window the behavior of the rectangle. on the compressed file contains two sources, namely the RectTracker.h mix-in class. SnapShotWnd.h for the use of this kind of a window. Previously there a screen, pictures can be seen from the window of the function, he achieved similar functions transparent window . Note that dash is the CRectTracker painting.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
RectTracker.h
SnapShotWnd.h
27.PNG
www.dssz.com.txt
SnapShotWnd.h
27.PNG
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.