Welcome![Sign In][Sign Up]
Location:
Search - WTL CRectTrack

Search list

[GDI-BitmapRectTracker

Description: 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.
Platform: | Size: 50176 | Author: 肖吉 | Hits:

CodeBus www.codebus.net