SDC C-Project CF Review 프로그램
LYW
2021-07-23 a6552335164ce062567b76aa7d097fd046129474
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
#include "afxext.h"
 
 
enum CHStyleFlags
{
//    solidLine = 1, dottedLine = 2, hatchedBorder = 4,
//    resizeInside = 8, resizeOutside = 16, hatchInside = 32,
 
    crossLine = 64, xLine = 128,
};
 
 
class AFX_EXT_CLASS CCHRectTracker : public CRectTracker
{
public:
    CCHRectTracker();
    CCHRectTracker(LPCRECT lpSrcRect, UINT nStyle);
    BOOL Track(CWnd* pWnd, CPoint point, BOOL bAllowInvert, CWnd* pWndClipTo=NULL);
    BOOL TrackRubberBand(CWnd* pWnd, CPoint point, BOOL bAllowInvert);
    void Draw(CDC* pDC) const;
    virtual ~CCHRectTracker(void);
 
protected:
    BOOL TrackHandle(int nHandle, CWnd* pWnd, CPoint point, CWnd* pWndClipTo);
};