FLImaging 6.5.8.1
GUIDialogCustom.h
1#pragma once
2
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
85 virtual ~CGUIDialogCustom();
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 public:
132 DECLARE_MESSAGE_MAP()
133 afx_msg void OnPaint();
134 afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
135 virtual BOOL OnInitDialog() override;
136 virtual BOOL PreTranslateMessage(MSG* pMsg) override;
137
138 protected:
139 uint32_t m_u32ResourceID;
140 CBrush m_brBrush;
141 COLORREF m_crClientFillColor;
142 bool m_bInitialized;
143
144 std::vector<CWnd*>& m_vctChildWnd;
145 };
146 }
147}
Top-level base class of FLImaging.
Definition FLBase.h:36
FLImaging module execution result object.
Definition ResultsDef.h:1514
A custom dialog class that can be linked to a dialog created in the resource view.
Definition GUIDialogCustom.h:25