#include <CtrlWndTabBar.h>
Public Member Functions | |
CWndTabBar () | |
virtual | ~CWndTabBar () |
void | SetMaximumWidth (int nWidth) |
void | SetMessage (UINT nMessageID) |
void | SetMessage (LPCTSTR pszText) |
void | SetWatermark (HBITMAP hBitmap) |
virtual BOOL | Create (CWnd *pParentWnd, DWORD dwStyle=WS_CHILD|WS_VISIBLE|CBRS_BOTTOM, UINT nID=AFX_IDW_STATUS_BAR) |
virtual CSize | CalcFixedLayout (BOOL bStretch, BOOL bHorz) |
virtual int | OnToolHitTest (CPoint point, TOOLINFO *pTI) const |
virtual void | OnUpdateCmdUI (CFrameWnd *pTarget, BOOL bDisableIfNoHndler) |
virtual void | DoPaint (CDC *pDC) |
Protected Member Functions | |
TabItem * | HitTest (const CPoint &point, CRect *pItemRect=NULL) const |
int | ImageIndexForWindow (CWnd *pChild) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnRButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonDblClk (UINT nFlags, CPoint point) |
afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
afx_msg void | OnTimer (UINT nIDEvent) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg void | OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) |
afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
afx_msg void | OnMButtonUp (UINT nFlags, CPoint point) |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
afx_msg BOOL | OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message) |
Protected Attributes | |
CPtrList | m_pItems |
TabItem * | m_pSelected |
TabItem * | m_pHot |
DWORD | m_nCookie |
BOOL | m_bTimer |
BOOL | m_bMenuGray |
CImageList | m_pImages |
CMapPtrToWord | m_pIcons |
int | m_nCloseImage |
CMenu | m_mnuChild |
int | m_nMaximumWidth |
UINT | m_nMessage |
CString | m_sMessage |
CRect | m_rcMessage |
CBitmap | m_bmImage |
Friends | |
class | CWindowManager |
class | TabItem |
Classes | |
class | TabItem |
|
Definition at line 59 of file CtrlWndTabBar.cpp. |
|
Definition at line 68 of file CtrlWndTabBar.cpp. References m_pItems. |
|
Definition at line 147 of file CtrlWndTabBar.cpp. |
|
Definition at line 80 of file CtrlWndTabBar.cpp. References NULL. Referenced by CMainWnd::OnCreate(). |
|
|
Definition at line 292 of file CtrlWndTabBar.cpp. References m_nMaximumWidth, m_pItems, and NULL. Referenced by OnLButtonDown(), OnLButtonUp(), OnMButtonUp(), OnMouseMove(), OnRButtonUp(), and OnToolHitTest(). |
|
Definition at line 270 of file CtrlWndTabBar.cpp. References m_pIcons, and m_pImages. Referenced by OnUpdateCmdUI(). |
|
Definition at line 133 of file CtrlWndTabBar.cpp. References CCoolMenu::AddMenu(), CoolMenu, IDR_CHILDFRAME, m_mnuChild, and m_pImages. |
|
Definition at line 643 of file CtrlWndTabBar.cpp. References CoolMenu, and CCoolMenu::OnDrawItem(). |
|
Definition at line 520 of file CtrlWndTabBar.cpp. References OnLButtonDown(). |
|
Definition at line 479 of file CtrlWndTabBar.cpp. References CSettings::General, GUI_WINDOWED, CSettings::sGeneral::GUIMode, HitTest(), IDS_TABBAR_CONNECTED, CChildWnd::m_bPanelMode, m_nMessage, m_pItems, m_pSelected, m_rcMessage, and Settings. Referenced by OnLButtonDblClk(). |
|
Definition at line 534 of file CtrlWndTabBar.cpp. References HitTest(), ID_NETWORK_SEARCH, IDS_TABBAR_CONNECTED, m_nMessage, m_pItems, and m_rcMessage. |
|
Definition at line 552 of file CtrlWndTabBar.cpp. References HitTest(). |
|
Definition at line 638 of file CtrlWndTabBar.cpp. References CoolMenu, and CCoolMenu::OnMeasureItem(). |
|
Definition at line 414 of file CtrlWndTabBar.cpp. |
|
Definition at line 563 of file CtrlWndTabBar.cpp. References CoolMenu, HitTest(), ID_CHILD_CLOSE, ID_CHILD_MAXIMISE, ID_CHILD_MINIMISE, ID_CHILD_RESTORE, m_bMenuGray, CChildWnd::m_bPanelMode, CShareazaApp::m_bRTL, m_mnuChild, NULL, CCoolMenu::RegisterEdge(), and theApp. |
|
Definition at line 461 of file CtrlWndTabBar.cpp. References IDC_HAND, IDS_TABBAR_CONNECTED, m_nMessage, m_pItems, m_rcMessage, and theApp. |
|
Definition at line 438 of file CtrlWndTabBar.cpp. |
|
Definition at line 323 of file CtrlWndTabBar.cpp. References HitTest(), CWndTabBar::TabItem::m_hWnd, CWndTabBar::TabItem::m_sCaption, and NULL. |
|
|
Definition at line 107 of file CtrlWndTabBar.cpp. References m_nMaximumWidth. Referenced by CMainWnd::SetGUIMode(). |
|
Definition at line 99 of file CtrlWndTabBar.cpp. References m_nMessage, m_pItems, and m_sMessage. |
|
Definition at line 87 of file CtrlWndTabBar.cpp. References CSkin::LoadString(), m_nMessage, m_pItems, m_sMessage, and Skin. Referenced by CMainWnd::OnUpdateTabConnect(), CMainWnd::OnWindowNavBar(), CMainWnd::OnWindowToolBar(), and CMainWnd::SetGUIMode(). |
|
Definition at line 114 of file CtrlWndTabBar.cpp. References m_bmImage, CWndTabBar::TabItem::m_nImage, m_pIcons, m_pImages, and m_pItems. Referenced by CMainWnd::OnSkinChanged(). |
|
Definition at line 37 of file CtrlWndTabBar.h. |
|
Definition at line 122 of file CtrlWndTabBar.h. Referenced by OnUpdateCmdUI(). |
|
Definition at line 71 of file CtrlWndTabBar.h. Referenced by OnRButtonUp(), and CWndTabBar::TabItem::Paint(). |
|
Definition at line 82 of file CtrlWndTabBar.h. Referenced by DoPaint(), and SetWatermark(). |
|
Definition at line 70 of file CtrlWndTabBar.h. Referenced by OnMouseMove(), and OnTimer(). |
|
Definition at line 76 of file CtrlWndTabBar.h. Referenced by OnCreate(), and OnRButtonUp(). |
|
Definition at line 75 of file CtrlWndTabBar.h. Referenced by DoPaint(), and CWndTabBar::TabItem::Paint(). |
|
Definition at line 69 of file CtrlWndTabBar.h. Referenced by OnUpdateCmdUI(). |
|
Definition at line 78 of file CtrlWndTabBar.h. Referenced by DoPaint(), HitTest(), and SetMaximumWidth(). |
|
Definition at line 79 of file CtrlWndTabBar.h. Referenced by OnLButtonDown(), OnLButtonUp(), OnSetCursor(), and SetMessage(). |
|
Definition at line 68 of file CtrlWndTabBar.h. Referenced by DoPaint(), OnMouseMove(), and OnTimer(). |
|
Definition at line 74 of file CtrlWndTabBar.h. Referenced by ImageIndexForWindow(), and SetWatermark(). |
|
Definition at line 73 of file CtrlWndTabBar.h. Referenced by ImageIndexForWindow(), OnCreate(), CWndTabBar::TabItem::Paint(), and SetWatermark(). |
|
Definition at line 66 of file CtrlWndTabBar.h. Referenced by DoPaint(), HitTest(), OnLButtonDown(), OnLButtonUp(), OnSetCursor(), OnUpdateCmdUI(), SetMessage(), SetWatermark(), and ~CWndTabBar(). |
|
Definition at line 67 of file CtrlWndTabBar.h. Referenced by DoPaint(), OnLButtonDown(), and OnUpdateCmdUI(). |
|
Definition at line 81 of file CtrlWndTabBar.h. Referenced by DoPaint(), OnLButtonDown(), OnLButtonUp(), and OnSetCursor(). |
|
Definition at line 80 of file CtrlWndTabBar.h. Referenced by DoPaint(), and SetMessage(). |