|
ReactOS 0.4.17-dev-1196-gb6224c3
|
#include <CMenuToolbars.h>


Protected Member Functions | |
| virtual HRESULT | OnDeletingButton (const NMTOOLBAR *tb) PURE |
| virtual HRESULT | InternalGetTooltip (INT iItem, INT index, DWORD_PTR dwData, LPWSTR pszText, INT cchTextMax) PURE |
| virtual HRESULT | InternalExecuteItem (INT iItem, INT index, DWORD_PTR dwData) PURE |
| virtual HRESULT | InternalPopupItem (INT iItem, INT index, DWORD_PTR dwData, BOOL keyInitiated) PURE |
| virtual HRESULT | InternalHasSubMenu (INT iItem, INT index, DWORD_PTR dwData) PURE |
| virtual HRESULT | InternalContextMenu (INT iItem, INT index, DWORD_PTR dwData, POINT pt) PURE |
| HRESULT | AddButton (DWORD commandId, LPCWSTR caption, BOOL hasSubMenu, INT iconId, DWORD_PTR buttonData, BOOL last) |
| HRESULT | AddSeparator (BOOL last) |
| HRESULT | AddPlaceholder () |
| HRESULT | ClearToolbar () |
| HWND | GetToolbar () |
Private Member Functions | |
| HRESULT | UpdateImageLists () |
| HRESULT | OnPagerCalcSize (LPNMPGCALCSIZE csize) |
| HRESULT | OnCustomDraw (LPNMTBCUSTOMDRAW cdraw, LRESULT *theResult) |
| HRESULT | OnGetInfoTip (NMTBGETINFOTIP *tip) |
| LRESULT | IsTrackedItem (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled) |
| LRESULT | ChangeTrackedItem (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled) |
| LRESULT | OnWinEventWrap (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled) |
| HRESULT | OnPopupTimer (UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled) |
Private Attributes | |
| CContainedWindow | m_pager |
| HFONT | m_marlett |
| BOOL | m_useFlatMenus |
| BOOL | m_disableMouseTrack |
| BOOL | m_timerEnabled |
Definition at line 28 of file CMenuToolbars.h.
Definition at line 281 of file CMenuToolbars.cpp.
|
virtual |
Definition at line 307 of file CMenuToolbars.cpp.
|
protected |
Definition at line 1015 of file CMenuToolbars.cpp.
Referenced by CMenuStaticToolbar::FillToolbar(), and CMenuSFToolbar::FillToolbar().
|
protected |
Definition at line 1065 of file CMenuToolbars.cpp.
Referenced by CMenuSFToolbar::FillToolbar().
Definition at line 1045 of file CMenuToolbars.cpp.
Referenced by CMenuStaticToolbar::FillToolbar().
| HRESULT CMenuToolbarBase::BeforeCancelPopup | ( | ) |
Definition at line 814 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_BeforeCancelPopup().
| HRESULT CMenuToolbarBase::CancelCurrentPopup | ( | ) |
Definition at line 1124 of file CMenuToolbars.cpp.
Referenced by OnPopupTimer(), and PopupItem().
| HRESULT CMenuToolbarBase::ChangeHotItem | ( | CMenuToolbarBase * | toolbar, |
| INT | item, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 598 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_ChangeHotItem().
| HRESULT CMenuToolbarBase::ChangePopupItem | ( | CMenuToolbarBase * | toolbar, |
| INT | item | ||
| ) |
Definition at line 658 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_ChangePopupItem().
|
private |
Definition at line 706 of file CMenuToolbars.cpp.
|
protected |
Definition at line 1085 of file CMenuToolbars.cpp.
Referenced by CMenuStaticToolbar::FillToolbar(), CMenuStaticToolbar::SetMenu(), CMenuSFToolbar::SetShellFolder(), and ~CMenuToolbarBase().
| HRESULT CMenuToolbarBase::Close | ( | ) |
Definition at line 378 of file CMenuToolbars.cpp.
Referenced by CMenuBand::CloseDW().
Definition at line 389 of file CMenuToolbars.cpp.
Referenced by CMenuBand::SetMenu(), CMenuBand::SetShellFolder(), and CMenuBand::SetSite().
Definition at line 138 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_DisableMouseTrack().
| HRESULT CMenuToolbarBase::ExecuteItem | ( | ) |
Definition at line 910 of file CMenuToolbars.cpp.
Implemented in CMenuStaticToolbar, and CMenuSFToolbar.
Definition at line 1095 of file CMenuToolbars.cpp.
Referenced by OnGetInfoTip(), PopupItem(), PrepareExecuteItem(), and ProcessContextMenu().
Definition at line 456 of file CMenuToolbars.cpp.
Referenced by CMenuBand::GetBandInfo(), OnPagerCalcSize(), and CMenuBand::OnPosRectChangeDB().
|
inlineprotected |
Definition at line 118 of file CMenuToolbars.h.
Referenced by CMenuSFToolbar::FillToolbar(), and CMenuSFToolbar::InternalContextMenu().
Definition at line 528 of file CMenuToolbars.cpp.
Referenced by CMenuBand::GetWindow().
|
protectedvirtual |
Reimplemented in CMenuStaticToolbar, and CMenuSFToolbar.
Referenced by ProcessContextMenu().
|
protectedvirtual |
Reimplemented in CMenuStaticToolbar, and CMenuSFToolbar.
Referenced by ExecuteItem().
|
protectedvirtual |
Reimplemented in CMenuStaticToolbar, and CMenuSFToolbar.
Referenced by OnGetInfoTip().
|
protectedvirtual |
Reimplemented in CMenuStaticToolbar, and CMenuSFToolbar.
Referenced by PopupItem().
|
protectedvirtual |
Reimplemented in CMenuStaticToolbar, and CMenuSFToolbar.
Referenced by PopupItem().
| void CMenuToolbarBase::InvalidateDraw | ( | ) |
Definition at line 321 of file CMenuToolbars.cpp.
Referenced by ChangeHotItem(), and ChangePopupItem().
|
private |
Definition at line 683 of file CMenuToolbars.cpp.
Definition at line 521 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_MenuBarMouseDown(), CMenuBand::_MenuBarMouseUp(), CMenuBand::IsWindowOwner(), and CMenuBand::OnWinEvent().
Definition at line 915 of file CMenuToolbars.cpp.
| HRESULT CMenuToolbarBase::KillPopupTimer | ( | ) |
Definition at line 587 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_KillPopupTimers().
Definition at line 860 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_MenuBarMouseDown().
Definition at line 881 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_MenuBarMouseUp().
|
private |
Definition at line 163 of file CMenuToolbars.cpp.
Referenced by OnWinEvent().
Reimplemented in CMenuStaticToolbar, and CMenuSFToolbar.
Referenced by OnWinEvent().
|
private |
Definition at line 541 of file CMenuToolbars.cpp.
Referenced by OnWinEvent().
|
private |
Definition at line 148 of file CMenuToolbars.cpp.
Referenced by OnWinEvent().
|
private |
Definition at line 553 of file CMenuToolbars.cpp.
| HRESULT CMenuToolbarBase::OnWinEvent | ( | HWND | hWnd, |
| UINT | uMsg, | ||
| WPARAM | wParam, | ||
| LPARAM | lParam, | ||
| LRESULT * | theResult | ||
| ) |
Definition at line 56 of file CMenuToolbars.cpp.
Referenced by CMenuBand::OnWinEvent(), and OnWinEventWrap().
|
private |
Definition at line 49 of file CMenuToolbars.cpp.
Definition at line 1129 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_MenuItemSelect(), ChangeHotItem(), OnPopupTimer(), and ProcessClick().
Definition at line 768 of file CMenuToolbars.cpp.
| HRESULT CMenuToolbarBase::PopupSubMenu | ( | UINT | itemId, |
| UINT | index, | ||
| IShellMenu * | childShellMenu, | ||
| BOOL | keyInitiated | ||
| ) |
Definition at line 727 of file CMenuToolbars.cpp.
Referenced by CMenuStaticToolbar::InternalPopupItem(), and CMenuSFToolbar::InternalPopupItem().
Definition at line 902 of file CMenuToolbars.cpp.
Definition at line 821 of file CMenuToolbars.cpp.
Referenced by MenuBarMouseDown(), MenuBarMouseUp(), and OnWinEvent().
Definition at line 847 of file CMenuToolbars.cpp.
Referenced by MenuBarMouseUp().
Definition at line 497 of file CMenuToolbars.cpp.
Referenced by CMenuBand::OnPosRectChangeDB().
Definition at line 326 of file CMenuToolbars.cpp.
Referenced by CMenuBand::ShowDW().
| HRESULT CMenuToolbarBase::TrackContextMenu | ( | IContextMenu * | contextMenu, |
| POINT | pt | ||
| ) |
Definition at line 803 of file CMenuToolbars.cpp.
Referenced by CMenuStaticToolbar::InternalContextMenu(), and CMenuSFToolbar::InternalContextMenu().
|
private |
Definition at line 342 of file CMenuToolbars.cpp.
Referenced by CreateToolbar(), and ShowDW().
|
protected |
Definition at line 57 of file CMenuToolbars.h.
Referenced by BeforeCancelPopup(), MenuBarMouseDown(), and MenuBarMouseUp().
|
private |
Definition at line 35 of file CMenuToolbars.h.
Referenced by ChangeHotItem(), DisableMouseTrack(), and ProcessClick().
|
protected |
Definition at line 40 of file CMenuToolbars.h.
Referenced by CMenuStaticToolbar::GetMenu(), CMenuSFToolbar::GetShellFolder(), CMenuStaticToolbar::SetMenu(), and CMenuSFToolbar::SetShellFolder().
|
protected |
Definition at line 55 of file CMenuToolbars.h.
Referenced by ExecuteItem(), and PrepareExecuteItem().
|
protected |
Definition at line 53 of file CMenuToolbars.h.
Referenced by PrepareExecuteItem().
|
protected |
Definition at line 54 of file CMenuToolbars.h.
Referenced by ExecuteItem(), and PrepareExecuteItem().
|
protected |
Definition at line 41 of file CMenuToolbars.h.
Referenced by AddButton(), AddPlaceholder(), AddSeparator(), ClearToolbar(), and GetSizes().
|
protected |
Definition at line 45 of file CMenuToolbars.h.
Referenced by ChangeHotItem(), IsTrackedItem(), and OnCustomDraw().
|
protected |
Definition at line 46 of file CMenuToolbars.h.
Referenced by ChangeHotItem(), IsTrackedItem(), KeyboardItemChange(), OnCustomDraw(), and OnPopupTimer().
|
protected |
Definition at line 42 of file CMenuToolbars.h.
Referenced by CMenuToolbarBase(), GetSizes(), and SetPosSize().
|
protected |
Definition at line 50 of file CMenuToolbars.h.
Referenced by AddButton(), AddSeparator(), ChangeHotItem(), CreateToolbar(), GetSizes(), KeyboardItemChange(), MenuBarMouseDown(), MenuBarMouseUp(), OnCustomDraw(), PopupItem(), PopupSubMenu(), ProcessClick(), SetPosSize(), and UpdateImageLists().
|
protected |
Definition at line 51 of file CMenuToolbars.h.
Referenced by ChangeHotItem(), ChangePopupItem(), ChangeTrackedItem(), KeyboardItemChange(), PopupSubMenu(), and ProcessClick().
|
protected |
Definition at line 43 of file CMenuToolbars.h.
Referenced by CMenuToolbarBase(), and GetSizes().
|
private |
Definition at line 33 of file CMenuToolbars.h.
Referenced by CMenuToolbarBase(), OnCustomDraw(), and ~CMenuToolbarBase().
|
protected |
Definition at line 39 of file CMenuToolbars.h.
Referenced by CancelCurrentPopup(), ChangeTrackedItem(), CreateToolbar(), CMenuStaticToolbar::FillToolbar(), CMenuSFToolbar::FillToolbar(), CMenuStaticToolbar::InternalContextMenu(), CMenuStaticToolbar::InternalExecuteItem(), CMenuSFToolbar::InternalExecuteItem(), CMenuStaticToolbar::InternalPopupItem(), CMenuSFToolbar::InternalPopupItem(), KeyboardItemChange(), OnCustomDraw(), PopupItem(), PopupSubMenu(), PrepareExecuteItem(), ProcessClick(), TrackContextMenu(), and UpdateImageLists().
|
private |
Definition at line 31 of file CMenuToolbars.h.
Referenced by Close(), CreateToolbar(), GetWindow(), IsWindowOwner(), SetPosSize(), and ~CMenuToolbarBase().
|
protected |
Definition at line 47 of file CMenuToolbars.h.
Referenced by ChangePopupItem(), MenuBarMouseDown(), OnCustomDraw(), OnPopupTimer(), PopupItem(), and TrackContextMenu().
|
protected |
Definition at line 48 of file CMenuToolbars.h.
Referenced by ChangePopupItem(), IsTrackedItem(), OnCustomDraw(), and PopupItem().
|
private |
Definition at line 36 of file CMenuToolbars.h.
Referenced by ChangeHotItem(), KillPopupTimer(), and OnPopupTimer().
|
private |
Definition at line 34 of file CMenuToolbars.h.
Referenced by CreateToolbar(), OnCustomDraw(), OnWinEvent(), and ShowDW().
|
protected |
Definition at line 44 of file CMenuToolbars.h.
Referenced by CreateToolbar().