169 bool HideAllTabsExceptOne(CGUIPaneBase* pActivePane);
171 virtual void OnPressCloseButton()
override;
172 virtual void RecalcLayout()
override;
173 virtual void ShowPane(BOOL bShow, BOOL bDelay, BOOL bActivate)
override;
174 virtual BOOL FloatPane(CRect rectFloat, AFX_DOCK_METHOD dockMethod = DM_UNKNOWN,
bool bShow =
true)
override;
176 DeclareGetClassType();
179 typedef struct sStateData
182 void Assign(
const sStateData& rhs);
184 int32_t i32SerialNum;
186 int32_t i32ActiveTab;
187 int32_t i32ParentMiniFrameSerialNum;
188 DWORD dwCurrentAlignment;
190 CMFCBaseTabCtrl::Location loc;
196 virtual bool CanSave()
const;
197 virtual const SStateData& GetStateData()
const;
203 virtual bool IsLoadComplete()
const;
204 virtual void MarkLoadComplete(
bool bComplete);
206 virtual bool IsSaveComplete()
const;
207 virtual void MarkSaveComplete(
bool bComplete);
209 virtual void SetSerialNumber(int32_t i32Num);
210 virtual int32_t GetSerialNumber()
const;
212 virtual CDockablePane* AttachToTabWnd(CDockablePane* pTabControlBarAttachTo, AFX_DOCK_METHOD dockMethod, BOOL bSetActive = TRUE, CDockablePane** ppTabbedControlBar = NULL)
override;
213 virtual CTabbedPane* CreateTabbedPane()
override;
214 virtual CPaneFrameWnd* CreateDefaultMiniframe(CRect rectInitial)
override;
215 virtual void DrawCaption(CDC* pDC, CRect rectCaption)
override;
216 virtual BOOL DockToWindow(CDockablePane* pTargetWindow, DWORD dwAlignment, LPCRECT lpRect = NULL)
override;
219 CGUIPaneBase* m_pActivePanePrev;
220 CGUIMainFrame* m_pParentMainFrame;
221 int32_t m_i32SerialNum;
225 SStateData m_sStateData;
228 friend class CGUIPaneBase;
231 virtual void OnPressButtons(UINT nHit);
232 DECLARE_MESSAGE_MAP()
233 afx_msg
void OnLButtonDown(UINT nFlags, CPoint point);
234 afx_msg
void OnLButtonUp(UINT nFlags, CPoint point);
235 afx_msg
int OnCreate(LPCREATESTRUCT lpCreateStruct);
236 afx_msg
void OnDestroy();
237 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
238 afx_msg LRESULT OnChangeActiveTab(WPARAM wp, LPARAM lp);
239 afx_msg
void OnSetFocus(CWnd* pOldWnd);
Template type array class.
Definition FLArray.h:71
Top-level base class of FLImaging.
Definition FLBase.h:36
Template type string class.
Definition FLString.h:34
FLImaging module execution result object.
Definition ResultsDef.h:1704
Provides global management utilities for panes.
Definition GUIManagerPane.h:46
The CGUITabbedPane class is a specialized implementation of a tabbed pane control in a GUI applicatio...
Definition GUITabbedPane.h:29
bool DeleteAllTabsExceptActiveOne()
Deletes all tabs except the currently active one.
bool DeleteAllTabs()
Deletes all tabs.
bool DeleteTab(int32_t i32TabNum)
Deletes the tab at the specified index.
CGUITabbedPane(BOOL bAutoDestroy=FALSE)
Default constructor.
bool HideActiveTab()
Hides the currently active tab.
bool HideAllTabsExceptActiveOne()
Hides all tabs except the currently active one.
bool HideAllTabs()
Hides all tabs.
bool IsTabVisible(CWnd *pWndPane) const
Indicates whether the specified tab is visible.
bool DeleteActiveTab()
Deletes the currently active tab.
bool HideTab(int32_t i32TabNum)
Hides the tab at the specified index.
int32_t GetTabIndex(CWnd *pWndPane) const
Searches for the index of the tab containing the specified CWnd object.
virtual ~CGUITabbedPane()
Default destructor.
Definition D2DObject.h:12