SDC C-Project CF Review 프로그램
LYW
2021-07-01 4acd943c6f0beecd3ee573f77d8d6c7524fd5045
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);
};