4#include "DefinitionsGUI.h"
5#include "GUIManagerProgressBar.h"
26 class CGUIProgressCtrl;
48 friend class CGUIManagerProgressBar;
49 DECLARE_DYNAMIC(CGUIDialogProgress)
52 CGUIDialogProgress(CWnd* pParent =
nullptr);
53 virtual ~CGUIDialogProgress();
214 virtual void DrawTitleRect(CDC* pDC)
override;
215 virtual BOOL PreTranslateMessage(MSG* pMsg);
216 virtual void SetFillColor(CGUILayoutBase* pLayout, COLORREF clrFill);
217 virtual void GetResizePivot(
const CRect& rcWindowPrev, int32_t i32WndWidth, int32_t i32WndHeight, int32_t& i32WndL, int32_t& i32WndT)
const;
223 CGUILayoutBase* m_pLayoutOfElapsedTime;
224 CGUIProgressCtrl* m_pProgressCtrlMain;
225 int32_t m_i32IndexOfElapsedTime;
227 bool m_bKeepPreviousMaximumWidth;
228 bool m_bKeepPreviousMaximumHeight;
232 DeclareGetClassType();
233 DECLARE_MESSAGE_MAP()
234 afx_msg
void OnNcPaint();
235 afx_msg
void OnLButtonDown(UINT nFlags, CPoint point);
236 afx_msg
void OnLButtonUp(UINT nFlags, CPoint point);
237 afx_msg
void OnMouseMove(UINT nFlags, CPoint point);
238 afx_msg
void OnPaint();
239 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
240 afx_msg
void OnSysCommand(UINT nID, LPARAM lParam);
CGUIDialog(CWnd *pParent=nullptr)
기본 생성자
virtual BOOL OnInitDialog() override
다이얼로그를 초기화합니다. 다이얼로그가 표시되기 전에 호출됩니다.
virtual Base::CPerformanceCounter & GetPerformanceCounter()
프로그레스 대화상자에서 사용하는 성능 카운터를 반환합니다.
static CGUIDialogProgress * CreateModelessDialog(CWnd *pParent=nullptr)
모델리스 프로그레스 대화상자를 생성하여 반환합니다.
virtual void SetElapsedTimePosition(CGUIGridLayout *pGridLayout, int32_t i32Row, int32_t i32Col)
경과 시간 컨트롤이 배치될 그리드 레이아웃 내 위치를 설정합니다.
void KeepPreviousMaximumWidth(bool bKeep=false)
내부 컨트롤의 크기에 따라 프로그레스 창의 너비가 변경되는데, 변경될 프로그레스 창의 너비가 이전 프로그레스 창의 너비보다 작을 경우 이전 창 너비를 유지하도록 설정합니다.
bool DoesKeepPreviousMaximumHeight() const
갱신될 창의 높이가 이전 창의 높이보다 작으면 이전 창 높이를 유지하도록 설정되어 있는지 여부를 리턴합니다.
virtual void SetMainProgressCtrl(CGUIProgressCtrl *pProgressCtrl)
해당 다이얼로그에 복수의 프로그레스 컨트롤이 포함된 경우, 가장 대표적인 메인 프로그레스 컨트롤을 설정합니다. 해당 컨트롤이 지정된 경우, 다이얼로그가 최소화되었을 때 캡션 바에 진...
virtual void SetResizeWindowPivot(EGUIAlignment eAlignment)
프로그레스 창 크기 변경 시 기준이 되는 고정 위치를 설정합니다. 예를 들어 EGUIAlignment_LEFT_TOP 으로 지정하면 좌상단 위치는 유지되고 나머지 위치가 변경되면서 ...
virtual bool AdjustLayout() override
다이얼로그 내 컨트롤 및 버튼의 레이아웃을 재계산하여 적용합니다.
virtual CGUIProgressCtrl * GetMainProgressCtrl() const
해당 다이얼로그에 복수의 프로그레스 컨트롤이 포함된 경우, 가장 대표적인 메인 프로그레스 컨트롤을 반환합니다. 해당 컨트롤이 지정된 경우, 다이얼로그가 최소화되었을 때 캡션 바에 진...
void KeepPreviousMaximumHeight(bool bKeep=false)
내부 컨트롤의 크기에 따라 프로그레스 창의 높이가 변경되는데, 변경될 프로그레스 창의 높이가 이전 프로그레스 창의 높이보다 작을 경우 이전 창 높이를 유지하도록 설정합니다.
virtual void SetElapsedTimePosition(CGUIBoxLayout *pBoxLayout, int32_t i32Index)
경과 시간 컨트롤이 배치될 박스 레이아웃 내 위치를 설정합니다.
virtual void UpdateTheme() override
현재 테마를 다이얼로그 및 하위 컨트롤에 적용합니다.
virtual EGUIAlignment GetResizeWindowPivot() const
프로그레스 창 크기 변경 시 기준이 되는 고정 위치를 반환합니다.
bool DoesKeepPreviousMaximumWidth() const
갱신될 창의 너비가 이전 창의 너비보다 작으면 이전 창 너비를 유지하도록 설정되어 있는지 여부를 리턴합니다.
virtual void ShowCaption(bool bShow=true) override
캡션(타이틀 바)을 표시하거나 숨깁니다.
Definition D2DObject.h:12
EGUIAlignment
정렬 정보
Definition FLImagingGUI/DefinitionsGUI.h:13960