From 5c62f2269ac6179a22b475093f35be2fb0999bb2 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 월, 09 8월 2021 11:05:03 +0900 Subject: [PATCH] Merge branch 'feature/#3477_CF_AOI_Review_FrameLost_현상_조치' into develop --- ReviewHistory/ReveiwHistory/CHRectTracker.h | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+), 0 deletions(-) diff --git a/ReviewHistory/ReveiwHistory/CHRectTracker.h b/ReviewHistory/ReveiwHistory/CHRectTracker.h new file mode 100644 index 0000000..2a7d67b --- /dev/null +++ b/ReviewHistory/ReveiwHistory/CHRectTracker.h @@ -0,0 +1,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); +}; -- Gitblit v1.9.3