From 12c02f064db12d6d94063bf6dd9e4eb80f4252b8 Mon Sep 17 00:00:00 2001
From: LYW <leeyeanwoo@diteam.co.kr>
Date: 월, 11 10월 2021 15:30:00 +0900
Subject: [PATCH] Ongoing60 #3662 CF AOI Review 전설비 알람 발생 조치 - Review History File Mapping 해제 - Review Inner History 다운 현상 예외처리 추가 - Review End 시 Review 다운 현상 예외처리 추가

---
 ReviewHistory/ReveiwHistory/akWndArrange.h |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/ReviewHistory/ReveiwHistory/akWndArrange.h b/ReviewHistory/ReveiwHistory/akWndArrange.h
new file mode 100644
index 0000000..4ffca31
--- /dev/null
+++ b/ReviewHistory/ReveiwHistory/akWndArrange.h
@@ -0,0 +1,41 @@
+#pragma once
+
+//다이얼로그 크기변화에 따른 크기 위치 자동 지정   태현[2016/12/23]
+#include <vector>
+
+enum _POSSIZETYPE
+{
+	WA_LEFTTOP = 0x1,
+	WA_LEFTBOTTOM = 0x2,
+	WA_RIGHTTOP = 0x4,
+	WA_RIGHTBOTTOM = 0x8,
+	WA_RESIZE_WIDTH = 0x10,
+	WA_RESIZE_HEIGHT = 0x20,
+};
+
+class CakWndArrange
+{
+public:
+	CakWndArrange(void);
+	virtual ~CakWndArrange(void);
+
+protected:
+	struct _WndData 
+	{
+		HWND hWnd;
+		CRect rectOrginal;
+		int nStyle;
+	};
+
+public:
+	void clear();
+	void setParentWnd(CWnd* pWnd);
+	void addChildWnd(CWnd* pWnd, int nStyle);
+	void setChildStyle(CWnd* pWnd, int nStyle);
+	
+	void process(int nWidth, int nHeight);//void OnSize(UINT nType, int cx, int cy) 함수에서 호출
+protected:
+	CWnd* m_pWndParent;
+	CRect m_rectOriginal;
+	std::vector<_WndData> m_vecWndChild;
+};

--
Gitblit v1.9.3