#include <ToolBarEx.h>
Public Member Functions | |
CToolBarPopup (CToolBarEx *pToolBar) | |
~CToolBarPopup () | |
bool | ShowPopup (UINT nFlags, CPoint pt, CRect &rcExclude) |
CToolBarPopup (CToolBarEx *pToolBar) | |
~CToolBarPopup () | |
bool | ShowPopup (UINT nFlags, CPoint pt, CRect &rcExclude) |
Protected Member Functions | |
virtual BOOL | OnCommand (WPARAM wParam, LPARAM lParam) |
virtual BOOL | OnNotify (WPARAM wParam, LPARAM lParam, LRESULT *pResult) |
virtual LRESULT | WindowProc (UINT message, WPARAM wParam, LPARAM lParam) |
void | SetPosition (UINT nFlags, CPoint pt, CRect &rcExclude) |
void | Show (UINT nFlags, const CRect &rc) |
void | OnKeyDown (UINT nChar) |
afx_msg void | OnCaptureChanged (CWnd *pWnd) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg int | OnMouseActivate (CWnd *pDesktopWnd, UINT nHitTest, UINT message) |
afx_msg void | OnEndModalLoop () |
virtual BOOL | OnCommand (WPARAM wParam, LPARAM lParam) |
virtual BOOL | OnNotify (WPARAM wParam, LPARAM lParam, LRESULT *pResult) |
virtual LRESULT | WindowProc (UINT message, WPARAM wParam, LPARAM lParam) |
void | SetPosition (UINT nFlags, CPoint pt, CRect &rcExclude) |
void | Show (UINT nFlags, const CRect &rc) |
void | OnKeyDown (UINT nChar) |
void | DrawBorder (CDC *pDC) |
afx_msg void | OnCaptureChanged (CWnd *pWnd) |
afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
afx_msg int | OnMouseActivate (CWnd *pDesktopWnd, UINT nHitTest, UINT message) |
afx_msg void | OnNcPaint () |
afx_msg LRESULT | OnPrint (WPARAM wParam, LPARAM lParam) |
afx_msg void | OnEndModalLoop () |
Static Protected Member Functions | |
static LRESULT CALLBACK | KeyboardProc (int code, WPARAM wParam, LPARAM lParam) |
static LRESULT CALLBACK | KeyboardProc (int code, WPARAM wParam, LPARAM lParam) |
Protected Attributes | |
CToolBarEx * | m_pToolBar |
CToolBarCtrl | m_tbCtrl |
bool | m_bOverTbCtrl |
bool | m_bTextLabels |
CToolBarEx * | m_pToolBar |
bool | m_bFlatMenu |
Static Protected Attributes | |
static HHOOK | m_hKeyboardHook = 0 |
static CToolBarPopup * | m_pPopup = 0 |
static CToolBarPopup * | m_pPopup |
Private Member Functions | |
DECLARE_DYNAMIC (CToolBarPopup) | |
DECLARE_DYNAMIC (CToolBarPopup) |
Definition at line 144 of file ToolBarEx.h.
CToolBarPopup::CToolBarPopup | ( | CToolBarEx * | pToolBar | ) |
Definition at line 641 of file ToolBarEx.cpp.
CToolBarPopup::~CToolBarPopup | ( | ) |
Definition at line 650 of file ToolBarEx.cpp.
CToolBarPopup::CToolBarPopup | ( | CToolBarEx * | pToolBar | ) |
CToolBarPopup::~CToolBarPopup | ( | ) |
CToolBarPopup::DECLARE_DYNAMIC | ( | CToolBarPopup | ) | [private] |
CToolBarPopup::DECLARE_DYNAMIC | ( | CToolBarPopup | ) | [private] |
void CToolBarPopup::DrawBorder | ( | CDC * | pDC | ) | [protected] |
static LRESULT CALLBACK CToolBarPopup::KeyboardProc | ( | int | code, | |
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [static, protected] |
LRESULT CALLBACK CToolBarPopup::KeyboardProc | ( | int | code, | |
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [static, protected] |
Definition at line 896 of file ToolBarEx.cpp.
References ASSERT, m_hKeyboardHook, m_pPopup, m_tbCtrl, and OnKeyDown().
Referenced by ShowPopup().
afx_msg void CToolBarPopup::OnCaptureChanged | ( | CWnd * | pWnd | ) | [protected] |
void CToolBarPopup::OnCaptureChanged | ( | CWnd * | pWnd | ) | [protected] |
virtual BOOL CToolBarPopup::OnCommand | ( | WPARAM | wParam, | |
LPARAM | lParam | |||
) | [protected, virtual] |
BOOL CToolBarPopup::OnCommand | ( | WPARAM | wParam, | |
LPARAM | lParam | |||
) | [protected, virtual] |
afx_msg int CToolBarPopup::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
int CToolBarPopup::OnCreate | ( | LPCREATESTRUCT | lpCreateStruct | ) | [protected] |
Definition at line 1077 of file ToolBarEx.cpp.
References ASSERT, BTNS_SHOWTEXT, CToolBarEx::GetButtonText(), CToolBarEx::m_aButtonsSaved, m_bTextLabels, m_pToolBar, m_tbCtrl, max, TBSTYLE_EX_MIXEDBUTTONS, and VERIFY.
afx_msg void CToolBarPopup::OnEndModalLoop | ( | ) | [protected] |
void CToolBarPopup::OnEndModalLoop | ( | ) | [protected] |
Definition at line 1062 of file ToolBarEx.cpp.
void CToolBarPopup::OnKeyDown | ( | UINT | nChar | ) | [protected] |
void CToolBarPopup::OnKeyDown | ( | UINT | nChar | ) | [protected] |
Definition at line 837 of file ToolBarEx.cpp.
References m_tbCtrl, VERIFY, and WM_TB_ENDMODALLOOP.
Referenced by KeyboardProc().
afx_msg int CToolBarPopup::OnMouseActivate | ( | CWnd * | pDesktopWnd, | |
UINT | nHitTest, | |||
UINT | message | |||
) | [protected] |
int CToolBarPopup::OnMouseActivate | ( | CWnd * | pDesktopWnd, | |
UINT | nHitTest, | |||
UINT | message | |||
) | [protected] |
Definition at line 1261 of file ToolBarEx.cpp.
void CToolBarPopup::OnNcPaint | ( | ) | [protected] |
virtual BOOL CToolBarPopup::OnNotify | ( | WPARAM | wParam, | |
LPARAM | lParam, | |||
LRESULT * | pResult | |||
) | [protected, virtual] |
BOOL CToolBarPopup::OnNotify | ( | WPARAM | wParam, | |
LPARAM | lParam, | |||
LRESULT * | pResult | |||
) | [protected, virtual] |
Definition at line 932 of file ToolBarEx.cpp.
References CToolBarEx::DoCustomDraw(), CToolBarEx::GetButtonTip(), m_bTextLabels, m_pToolBar, m_tbCtrl, and TRUE.
LRESULT CToolBarPopup::OnPrint | ( | WPARAM | wParam, | |
LPARAM | lParam | |||
) | [protected] |
void CToolBarPopup::SetPosition | ( | UINT | nFlags, | |
CPoint | pt, | |||
CRect & | rcExclude | |||
) | [protected] |
void CToolBarPopup::SetPosition | ( | UINT | nFlags, | |
CPoint | pt, | |||
CRect & | rcExclude | |||
) | [protected] |
Definition at line 692 of file ToolBarEx.cpp.
References ASSERT, m_tbCtrl, max, min, Show(), TPM_HORNEGANIMATION, TPM_HORPOSANIMATION, TPM_VERNEGANIMATION, and TPM_VERPOSANIMATION.
Referenced by ShowPopup().
void CToolBarPopup::Show | ( | UINT | nFlags, | |
const CRect & | rc | |||
) | [protected] |
void CToolBarPopup::Show | ( | UINT | nFlags, | |
const CRect & | rc | |||
) | [protected] |
Definition at line 796 of file ToolBarEx.cpp.
References AnimateWindowWin50(), AW_BLEND, AW_HOR_NEGATIVE, AW_HOR_POSITIVE, AW_SLIDE, AW_VER_NEGATIVE, AW_VER_POSITIVE, CWinAppEx::GetInstance(), TPM_HORNEGANIMATION, TPM_HORPOSANIMATION, TPM_NOANIMATION, TPM_VERNEGANIMATION, TPM_VERPOSANIMATION, and VERIFY.
Referenced by SetPosition().
bool CToolBarPopup::ShowPopup | ( | UINT | nFlags, | |
CPoint | pt, | |||
CRect & | rcExclude | |||
) |
bool CToolBarPopup::ShowPopup | ( | UINT | nFlags, | |
CPoint | pt, | |||
CRect & | rcExclude | |||
) |
Definition at line 657 of file ToolBarEx.cpp.
References ASSERT, KeyboardProc(), m_hKeyboardHook, m_pPopup, SetPosition(), and VERIFY.
Referenced by CToolBarEx::OnReBarChevronPushed().
virtual LRESULT CToolBarPopup::WindowProc | ( | UINT | message, | |
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [protected, virtual] |
LRESULT CToolBarPopup::WindowProc | ( | UINT | message, | |
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [protected, virtual] |
Definition at line 971 of file ToolBarEx.cpp.
References m_bOverTbCtrl, m_tbCtrl, and WM_TB_ENDMODALLOOP.
bool CToolBarPopup::m_bFlatMenu [protected] |
bool CToolBarPopup::m_bOverTbCtrl [protected] |
bool CToolBarPopup::m_bTextLabels [protected] |
static HHOOK CToolBarPopup::m_hKeyboardHook = 0 [static, protected] |
CToolBarPopup* CToolBarPopup::m_pPopup [static, protected] |
Definition at line 203 of file ToolBarEx.h.
CToolBarPopup * CToolBarPopup::m_pPopup = 0 [static, protected] |
CToolBarEx* CToolBarPopup::m_pToolBar [protected] |
Definition at line 196 of file ToolBarEx.h.
CToolBarEx* CToolBarPopup::m_pToolBar [protected] |
CToolBarCtrl CToolBarPopup::m_tbCtrl [protected] |
Definition at line 177 of file ToolBarEx.h.
Referenced by KeyboardProc(), OnCaptureChanged(), OnCreate(), OnKeyDown(), OnNotify(), SetPosition(), and WindowProc().