#include <CtrlCoolMenuBar.h>
Inheritance diagram for CCoolMenuBarCtrl:
Public Member Functions | |
CCoolMenuBarCtrl () | |
virtual | ~CCoolMenuBarCtrl () |
void | SetMenu (HMENU hMenu) |
void | OpenMenuBar () |
BOOL | OpenMenuChar (UINT nChar) |
virtual void | OnUpdateCmdUI (CFrameWnd *pTarget, BOOL bDisableIfNoHndler) |
Protected Member Functions | |
void | ShowMenu () |
void | UpdateWindowMenu (CMenu *pMenu) |
void | ShiftMenu (int nOffset) |
BOOL | OnMenuMessage (MSG *pMsg) |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnTimer (UINT nIDEvent) |
afx_msg void | OnMeasureItem (int nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct) |
afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
afx_msg void | OnInitMenuPopup (CMenu *pPopupMenu, UINT nIndex, BOOL bSysMenu) |
afx_msg void | OnMenuSelect (UINT nItemID, UINT nFlags, HMENU hSysMenu) |
afx_msg void | OnEnterIdle (UINT nWhy, CWnd *pWho) |
afx_msg void | OnEnterMenuLoop (BOOL bIsTrackPopupMenu) |
afx_msg void | OnExitMenuLoop (BOOL bIsTrackPopupMenu) |
Static Protected Member Functions | |
static LRESULT CALLBACK | MenuFilter (int nCode, WPARAM wParam, LPARAM lParam) |
Protected Attributes | |
CPoint | m_pMouse |
HMENU | m_hMenu |
CCoolBarItem * | m_pSelect |
Static Protected Attributes | |
static CCoolMenuBarCtrl * | m_pMenuBar = NULL |
static HHOOK | m_hMsgHook = NULL |
|
Definition at line 56 of file CtrlCoolMenuBar.cpp. References CCoolBarCtrl::m_bGripper, CCoolBarCtrl::m_bMenuGray, CCoolBarCtrl::m_bStretch, CCoolBarCtrl::m_nHeight, NULL, and theApp. |
|
Definition at line 67 of file CtrlCoolMenuBar.cpp. |
|
Definition at line 357 of file CtrlCoolMenuBar.cpp. References m_hMsgHook, m_pMenuBar, and OnMenuMessage(). Referenced by ShowMenu(). |
|
Definition at line 326 of file CtrlCoolMenuBar.cpp. |
|
Definition at line 346 of file CtrlCoolMenuBar.cpp. |
|
Definition at line 336 of file CtrlCoolMenuBar.cpp. |
|
Definition at line 341 of file CtrlCoolMenuBar.cpp. |
|
Definition at line 315 of file CtrlCoolMenuBar.cpp. |
|
Reimplemented from CCoolBarCtrl. Definition at line 295 of file CtrlCoolMenuBar.cpp. References CCoolBarCtrl::HitTest(), CCoolBarCtrl::m_pHot, CCoolBarCtrl::OnLButtonDown(), and ShowMenu(). |
|
Definition at line 321 of file CtrlCoolMenuBar.cpp. |
|
Definition at line 369 of file CtrlCoolMenuBar.cpp. References CCoolBarCtrl::HitTest(), CCoolBarCtrl::m_pDown, CCoolBarCtrl::m_pHot, m_pMouse, NULL, and ShiftMenu(). Referenced by MenuFilter(). |
|
Definition at line 331 of file CtrlCoolMenuBar.cpp. |
|
Reimplemented from CCoolBarCtrl. Definition at line 280 of file CtrlCoolMenuBar.cpp. References CCoolBarCtrl::m_pHot, m_pSelect, CCoolBarCtrl::OnTimer(), and ShowMenu(). Referenced by ShowMenu(). |
|
Reimplemented from CCoolBarCtrl. Definition at line 311 of file CtrlCoolMenuBar.cpp. |
|
Definition at line 101 of file CtrlCoolMenuBar.cpp. References CCoolBarCtrl::GetIndex(), CCoolBarCtrl::m_pDown, m_pSelect, and NULL. Referenced by CMainWnd::OnSysCommand(). |
|
Definition at line 109 of file CtrlCoolMenuBar.cpp. References CCoolBarCtrl::GetIndex(), m_hMenu, and m_pSelect. Referenced by CMainWnd::OnSysCommand(). |
|
Definition at line 74 of file CtrlCoolMenuBar.cpp. References CCoolBarCtrl::CCoolBarItem, CCoolBarCtrl::Clear(), m_hMenu, CCoolBarCtrl::m_pItems, and CCoolBarItem::SetText(). Referenced by CMainWnd::OnSkinChanged(). |
|
Definition at line 263 of file CtrlCoolMenuBar.cpp. References CCoolBarCtrl::GetCount(), CCoolBarCtrl::GetIndex(), CCoolBarCtrl::m_pDown, CCoolBarCtrl::m_pHot, m_pSelect, and NULL. Referenced by OnMenuMessage(). |
|
Definition at line 137 of file CtrlCoolMenuBar.cpp. References CoolMenu, CCoolBarCtrl::GetItemRect(), ID_WINDOW_NAVBAR, CShareazaApp::m_bRTL, CCoolBarCtrl::m_bTimer, m_hMenu, m_hMsgHook, CCoolBarCtrl::m_pDown, CCoolBarCtrl::m_pHot, m_pMenuBar, MenuFilter(), NULL, OnTimer(), CCoolMenu::RegisterEdge(), theApp, and UpdateWindowMenu(). Referenced by OnLButtonDown(), and OnTimer(). |
|
Definition at line 202 of file CtrlCoolMenuBar.cpp. References ID_SEPARATOR, CChildWnd::m_bTabMode, and NULL. Referenced by ShowMenu(). |
|
Definition at line 40 of file CtrlCoolMenuBar.h. Referenced by OpenMenuChar(), SetMenu(), and ShowMenu(). |
|
Definition at line 355 of file CtrlCoolMenuBar.cpp. Referenced by MenuFilter(), and ShowMenu(). |
|
Definition at line 354 of file CtrlCoolMenuBar.cpp. Referenced by MenuFilter(), and ShowMenu(). |
|
Definition at line 39 of file CtrlCoolMenuBar.h. Referenced by OnMenuMessage(). |
|
Definition at line 41 of file CtrlCoolMenuBar.h. Referenced by OnTimer(), OpenMenuBar(), OpenMenuChar(), and ShiftMenu(). |