From 0c66940a8e2cf64c9890519901f433b3668216b6 Mon Sep 17 00:00:00 2001 From: KEJ <kimeungju@diteam.co.kr> Date: 수, 26 6월 2024 15:13:18 +0900 Subject: [PATCH] Ongoing80 #4942 CF AOI Review Bin File Loading 실패 개선 1. GlassRawMessenger 동기화 2. BIN파일 FindFile 제거(RawMessenger, Review 공통) 3. Unloading 시 BIN파일 제거 --- 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