From 55615eba335d4cbc1f83330dc5078fe073034b7d Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 금, 23 7월 2021 10:40:51 +0900 Subject: [PATCH] Ongoing60 #3524 CF AOI Review 디포커스 알람 추가 및 FDC 보고 방식 개선 --- 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