summaryrefslogtreecommitdiff
path: root/include/m_gui.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-15 23:29:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-15 23:29:39 +0300
commit63dd9362a3f8f071669de8f03c06d74a7a617eb8 (patch)
tree78727f52ba4ee6f2720fb89d65fd73a84cc3e97f /include/m_gui.h
parent47a8f51fb9830ac470c40dfce3ce27c09fd82d7b (diff)
new methods of CCtrlPages
Diffstat (limited to 'include/m_gui.h')
-rw-r--r--include/m_gui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/m_gui.h b/include/m_gui.h
index d929d0ccd7..6450ec7164 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -1199,6 +1199,13 @@ public:
void AddPage(wchar_t *ptszName, HICON hIcon, CDlgBase *pDlg);
void ActivatePage(int iPage);
int GetCount(void);
+ int GetDlgIndex(CDlgBase*);
+
+ CDlgBase* GetNthPage(int iPage);
+
+ __forceinline CDlgBase* GetActivePage() const
+ { return m_pActivePage;
+ }
protected:
virtual BOOL OnNotify(int idCtrl, NMHDR *pnmh) override;
@@ -1224,6 +1231,7 @@ private:
CDlgBase *m_pDlg;
};
+ void InsertPage(TPageInfo *pPage);
void ShowPage(CDlgBase *pDlg);
TPageInfo* GetCurrPage();