2#include "GUIDialogCustomEmbedded.h"
3#include "GUIWndCtrlBase.h"
11 class CGUIDialogRenameFigure;
19 DECLARE_DYNAMIC(CGUIDialogRenameFigureDL)
20 friend class CGUIDialogRenameFigure;
25 ESubMode_ObjectAugmentation,
33 CGUIStaticText* pStatic;
35 CGUIButton* pBtnClose;
38 CGUIDialogRenameFigureDL(CWnd* pParent =
nullptr);
39 virtual ~CGUIDialogRenameFigureDL();
42 #ifdef AFX_DESIGN_TIME
44 IDD = IDD_DIALOG_RENAME_FIGURE_DL
48 SupportToDuplicateObject(CGUIDialogRenameFigureDL);
49 DeclareGetClassType();
52 CString BuildLabelingString()
const;
53 CString BuildOAString()
const;
54 CString ComputeFromDL()
const;
56 BOOL OnInitDialog()
override;
58 void UpdateSubModeVisibility();
60 void SyncControlsFromState();
62 static bool ParseGeneralIntoDL(
const CString& text, ESubMode& outSub, CString& outClassNumber, CString& outClassName,
int& outSourceIndex,
int& outIncludeIndex, std::vector<CString>& outEntries);
63 virtual BOOL PreTranslateMessage(MSG* pMsg);
66 CGUIDialogRenameFigure* m_pDlgRFParent;
67 CGUIScrollWnd* m_pScrollWnd;
72 std::vector<CString>& m_oaEntries;
73 std::vector<SOARow*>& m_vctPSOARow;
74 CWndCtrlProcedure* m_pWCPBtnRemove;
75 CWndCtrlProcedure* m_pWCPEditChange;
77 void ShowControls(
const std::vector<int>& ids, BOOL bShow);
78 virtual void DoDataExchange(CDataExchange* pDX);
79 virtual bool AdjustLayout();
80 virtual bool GetTabStopWnd(std::vector<CWnd*>& vct);
81 virtual int32_t GetOARowIndex(CWnd* pWnd);
85 afx_msg
void OnEnChangeEditClassnum();
86 afx_msg
void OnEnChangeEditClassname();
88 afx_msg
void OnBnClickedRadioLabeling();
89 afx_msg
void OnBnClickedRadioOa();
90 afx_msg
void OnBnClickedRadioMaster();
92 afx_msg
void OnCbnSelchangeComboSource();
93 afx_msg
void OnCbnSelchangeComboInclude();
95 afx_msg
void OnBnClickedBtnAddClassno();
96 LRESULT OnBnClickedBtnRemoveEntry(WPARAM wParam, LPARAM lParam);
97 afx_msg
void OnSize(UINT nType,
int cx,
int cy);
98 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
A custom dialog class that allows a dialog created in the resource view to be embedded as a child of ...
Definition GUIDialogCustomEmbedded.h:26
Text box class.
Definition GUIEditCtrl.h:30
Definition D2DObject.h:12