SDC C-Project CF Review 프로그램
LYW
2021-08-09 5c62f2269ac6179a22b475093f35be2fb0999bb2
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
27
28
29
30
31
32
33
#pragma once
 
 
// CCHTrackerView
#include "CHImageView.h"
 
class AFX_EXT_CLASS CCHTrackerView : public CCHImageView
{
    DECLARE_DYNAMIC(CCHTrackerView)
 
public:
    CCHTrackerView();
    CCHTrackerView(CWnd *pParentWnd);
    virtual ~CCHTrackerView();
 
    BOOL GetTrackerRect(CRect& rtRect);
    void SetTrackerRect(const CRect& rtRect);
    void ClearTrackerRect();
 
protected:
    // tracker
    BOOL            m_bDrawTracker;
    CPoint            m_ptTrackerStart;
    CCHRectTracker    m_rectTracker;
 
protected:
 
    DECLARE_MESSAGE_MAP()
public:
    afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
    afx_msg void OnPaint();
    afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
};