CToolBarEx Class Reference

#include <ToolBarEx.h>

List of all members.

Public Member Functions

 CToolBarEx ()
CImageList * get_Images ()
void AutoSize () const
BOOL InsertGroup (wgTButtonInfo *pButtons, CBitmap *pBitmap, CBitmap *pBmpDisabled, int cButtons)
BOOL ShowGroup (int iGrp, int iWhere)
void HideGroup (int iGrp)
BOOL OnTBGetButtonInfo (NMHDR *nm)
BOOL OnNotify (LPNMHDR nm)
void UpdateGroupToolTips (int iGrp, LPCSTR *ppszTips, UINT uSize)
BOOL Create (CWnd *pParent)
virtual ~CToolBarEx ()

Protected Member Functions

fsTBInfoFindButton (UINT nID)
void UpdateSize ()
afx_msg void OnRButtonUp (UINT nFlags, CPoint point)

Protected Attributes

int m_cNames
CToolBarCtrl * m_bar
fs::list< fs::list< fsTBInfo > > m_vGroups
CImageList m_images
CImageList m_dimages

Classes

struct  fsTBInfo


Detailed Description

Definition at line 28 of file ToolBarEx.h.


Constructor & Destructor Documentation

CToolBarEx::CToolBarEx (  ) 

Definition at line 16 of file ToolBarEx.cpp.

References m_cNames.

CToolBarEx::~CToolBarEx (  )  [virtual]

Definition at line 21 of file ToolBarEx.cpp.


Member Function Documentation

CImageList * CToolBarEx::get_Images (  ) 

Definition at line 271 of file ToolBarEx.cpp.

References m_images.

Referenced by CDlg_TUMChanged::OnInitDialog().

void CToolBarEx::AutoSize (  )  const

Definition at line 249 of file ToolBarEx.cpp.

Referenced by CMainFrame::RecalcLayout().

BOOL CToolBarEx::InsertGroup ( wgTButtonInfo pButtons,
CBitmap *  pBitmap,
CBitmap *  pBmpDisabled,
int  cButtons 
)

BOOL CToolBarEx::ShowGroup ( int  iGrp,
int  iWhere 
)

void CToolBarEx::HideGroup ( int  iGrp  ) 

Definition at line 140 of file ToolBarEx.cpp.

References m_bar, and UpdateSize().

Referenced by CPlugToolBar::SetActivePlugin(), and CPluginFrame2::SetActivePlugin().

BOOL CToolBarEx::OnTBGetButtonInfo ( NMHDR *  nm  ) 

Definition at line 232 of file ToolBarEx.cpp.

References FALSE, and TRUE.

Referenced by CMainFrame::OnTBGetButtonInfo().

BOOL CToolBarEx::OnNotify ( LPNMHDR  nm  ) 

Definition at line 160 of file ToolBarEx.cpp.

References FALSE, FindButton(), NULL, fsTButtonInfo::strToolTip, and TRUE.

Referenced by CMainFrame::OnNotify().

void CToolBarEx::UpdateGroupToolTips ( int  iGrp,
LPCSTR ppszTips,
UINT  uSize 
)

Definition at line 219 of file ToolBarEx.cpp.

References m_vGroups.

Referenced by CMainFrame::ApplyLanguage(), and fsPluginMgr::OnNewLng().

BOOL CToolBarEx::Create ( CWnd *  pParent  ) 

Definition at line 31 of file ToolBarEx.cpp.

References _TB_SIZE_X, _TB_SIZE_Y, FALSE, m_bar, m_dimages, m_images, and TRUE.

Referenced by CMainFrame::OnCreate().

CToolBarEx::fsTBInfo * CToolBarEx::FindButton ( UINT  nID  )  [protected]

Definition at line 195 of file ToolBarEx.cpp.

References m_bar, m_vGroups, and NULL.

Referenced by OnNotify().

void CToolBarEx::UpdateSize (  )  [protected]

Definition at line 155 of file ToolBarEx.cpp.

Referenced by HideGroup(), and ShowGroup().

void CToolBarEx::OnRButtonUp ( UINT  nFlags,
CPoint  point 
) [protected]

Definition at line 226 of file ToolBarEx.cpp.


Member Data Documentation

int CToolBarEx::m_cNames [protected]

Definition at line 60 of file ToolBarEx.h.

Referenced by CToolBarEx(), and InsertGroup().

CToolBarCtrl* CToolBarEx::m_bar [protected]

Definition at line 71 of file ToolBarEx.h.

Referenced by Create(), FindButton(), and HideGroup().

fs::list<fs::list <fsTBInfo> > CToolBarEx::m_vGroups [protected]

Definition at line 73 of file ToolBarEx.h.

Referenced by FindButton(), InsertGroup(), ShowGroup(), and UpdateGroupToolTips().

CImageList CToolBarEx::m_images [protected]

Definition at line 75 of file ToolBarEx.h.

Referenced by Create(), get_Images(), and InsertGroup().

CImageList CToolBarEx::m_dimages [protected]

Definition at line 75 of file ToolBarEx.h.

Referenced by Create(), and InsertGroup().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:55 2008 by  doxygen 1.5.6