FLImaging 7.11.27.4
GUIDialogCustom.h
1#pragma once
2
10
12namespace FLImaging
13{
15 namespace GUI
16 {
24 class FL_EXPORT CGUIDialogCustom : public CDialogEx, public Base::CFLBase
25 {
26 DECLARE_DYNAMIC(CGUIDialogCustom)
27
28 public:
36
44
52
64 CGUIDialogCustom(UINT nIDTemplate, CWnd* pParent = nullptr);
65
77 CGUIDialogCustom(LPCTSTR lpszTemplateName, CWnd* pParentWnd = nullptr);
78
86
100 virtual const CResult Assign(const CGUIDialogCustom* pRhs);
101
115 virtual const CResult Assign(const CGUIDialogCustom& rhs);
116
126 virtual uint32_t GetResourceID() const;
127
128 SupportToDuplicateObject(CGUIDialogCustom, *this);
129 DeclareGetClassType();
130
131 virtual void SetParentWnd(CWnd* pParentWnd);
132 virtual CWnd* GetParentWnd() const;
133 virtual bool IsExternalParent();
134
135 public:
136 DECLARE_MESSAGE_MAP()
137 afx_msg void OnPaint();
138 afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
139 virtual BOOL OnInitDialog() override;
140 virtual BOOL PreTranslateMessage(MSG* pMsg) override;
141 afx_msg void OnWindowPosChanging(WINDOWPOS* lpwndpos);
142 afx_msg void OnDisplayChange(UINT nBitsPerPixel, int cx, int cy);
143 afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
144
145 protected:
146 uint32_t m_u32ResourceID;
147 CBrush m_brBrush;
148 COLORREF m_crClientFillColor;
149 bool m_bInitialized;
150 CWnd* m_pParentWnd;
151
152 std::vector<CWnd*>& m_vctChildWnd;
153 };
154 }
155}
FLImaging의 최상위 기저 클래스
Definition FLImagingBase/FLBase.h:36
FLImaging 모듈의 수행 결과 객체
Definition FLImagingBase/ResultsDef.h:1739
CGUIDialogCustom(const CGUIDialogCustom &rhs)
복사 생성자(레퍼런스)
CGUIDialogCustom(const CGUIDialogCustom *pRhs)
복사 생성자(포인터)
virtual ~CGUIDialogCustom()
기본 소멸자
virtual const CResult Assign(const CGUIDialogCustom *pRhs)
다이얼로그 객체를 복사합니다.
virtual uint32_t GetResourceID() const
리소스 ID를 리턴합니다.
virtual const CResult Assign(const CGUIDialogCustom &rhs)
다이얼로그 객체를 복사합니다.
CGUIDialogCustom(UINT nIDTemplate, CWnd *pParent=nullptr)
Constructs a CGUIDialogCustom object.
CGUIDialogCustom(LPCTSTR lpszTemplateName, CWnd *pParentWnd=nullptr)
Constructs a CGUIDialogCustom object.
CGUIDialogCustom()
기본 생성자
Definition D2DObject.h:12