1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| #pragma once
|
| enum CStyleFlags
| {
| // solidLine = 1, dottedLine = 2, hatchedBorder = 4,
| // resizeInside = 8, resizeOutside = 16, hatchInside = 32,
|
| crossLine = 64, xLine = 128,
| };
|
|
| class AFX_EXT_CLASS CImageTracker : public CRectTracker
| {
| public:
| CImageTracker(void);
| CImageTracker(LPCRECT lpSrcRect, UINT nStyle);
| virtual ~CImageTracker(void);
|
| BOOL Track(CWnd* pWnd, CPoint point, BOOL bAllowInvert, CWnd* pWndClipTo=NULL);
| BOOL TrackRubberBand(CWnd* pWnd, CPoint point, BOOL bAllowInvert);
| void Draw(CDC* pDC) const;
|
| protected:
| BOOL TrackHandle(int nHandle, CWnd* pWnd, CPoint point, CWnd* pWndClipTo);
|
| };
|
|