ReactOS 0.4.16-dev-340-g0540c21
|
#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 271 of file CMenuToolbars.cpp.
|
virtual |
Definition at line 297 of file CMenuToolbars.cpp.
|
protected |
Definition at line 997 of file CMenuToolbars.cpp.
Referenced by CMenuStaticToolbar::FillToolbar(), and CMenuSFToolbar::FillToolbar().
|
protected |
Definition at line 1047 of file CMenuToolbars.cpp.
Referenced by CMenuSFToolbar::FillToolbar().
Definition at line 1027 of file CMenuToolbars.cpp.
Referenced by CMenuStaticToolbar::FillToolbar().
HRESULT CMenuToolbarBase::BeforeCancelPopup | ( | ) |
Definition at line 804 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_BeforeCancelPopup().
HRESULT CMenuToolbarBase::CancelCurrentPopup | ( | ) |
Definition at line 1106 of file CMenuToolbars.cpp.
Referenced by OnPopupTimer(), and PopupItem().
HRESULT CMenuToolbarBase::ChangeHotItem | ( | CMenuToolbarBase * | toolbar, |
INT | item, | ||
DWORD | dwFlags | ||
) |
Definition at line 588 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_ChangeHotItem().
HRESULT CMenuToolbarBase::ChangePopupItem | ( | CMenuToolbarBase * | toolbar, |
INT | item | ||
) |
Definition at line 648 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_ChangePopupItem().
|
private |
Definition at line 696 of file CMenuToolbars.cpp.
|
protected |
Definition at line 1067 of file CMenuToolbars.cpp.
Referenced by CMenuStaticToolbar::FillToolbar(), CMenuStaticToolbar::SetMenu(), CMenuSFToolbar::SetShellFolder(), and ~CMenuToolbarBase().
HRESULT CMenuToolbarBase::Close | ( | ) |
Definition at line 368 of file CMenuToolbars.cpp.
Referenced by CMenuBand::CloseDW().
Definition at line 379 of file CMenuToolbars.cpp.
Referenced by CMenuBand::SetMenu(), CMenuBand::SetShellFolder(), and CMenuBand::SetSite().
Definition at line 128 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_DisableMouseTrack().
HRESULT CMenuToolbarBase::ExecuteItem | ( | ) |
Definition at line 892 of file CMenuToolbars.cpp.
Implemented in CMenuStaticToolbar, and CMenuSFToolbar.
Definition at line 1077 of file CMenuToolbars.cpp.
Referenced by OnGetInfoTip(), PopupItem(), PrepareExecuteItem(), and ProcessContextMenu().
Definition at line 446 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 518 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 311 of file CMenuToolbars.cpp.
Referenced by ChangeHotItem(), and ChangePopupItem().
|
private |
Definition at line 673 of file CMenuToolbars.cpp.
Definition at line 511 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_MenuBarMouseDown(), CMenuBand::_MenuBarMouseUp(), CMenuBand::IsWindowOwner(), and CMenuBand::OnWinEvent().
Definition at line 897 of file CMenuToolbars.cpp.
HRESULT CMenuToolbarBase::KillPopupTimer | ( | ) |
Definition at line 577 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_KillPopupTimers().
Definition at line 850 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_MenuBarMouseDown().
Definition at line 867 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_MenuBarMouseUp().
|
private |
Definition at line 153 of file CMenuToolbars.cpp.
Referenced by OnWinEvent().
Reimplemented in CMenuStaticToolbar, and CMenuSFToolbar.
Referenced by OnWinEvent().
|
private |
Definition at line 531 of file CMenuToolbars.cpp.
Referenced by OnWinEvent().
|
private |
Definition at line 138 of file CMenuToolbars.cpp.
Referenced by OnWinEvent().
|
private |
Definition at line 543 of file CMenuToolbars.cpp.
HRESULT CMenuToolbarBase::OnWinEvent | ( | HWND | hWnd, |
UINT | uMsg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
LRESULT * | theResult | ||
) |
Definition at line 46 of file CMenuToolbars.cpp.
Referenced by CMenuBand::OnWinEvent(), and OnWinEventWrap().
|
private |
Definition at line 39 of file CMenuToolbars.cpp.
Definition at line 1111 of file CMenuToolbars.cpp.
Referenced by CMenuBand::_MenuItemSelect(), ChangeHotItem(), OnPopupTimer(), and ProcessClick().
Definition at line 758 of file CMenuToolbars.cpp.
HRESULT CMenuToolbarBase::PopupSubMenu | ( | UINT | itemId, |
UINT | index, | ||
IShellMenu * | childShellMenu, | ||
BOOL | keyInitiated | ||
) |
Definition at line 717 of file CMenuToolbars.cpp.
Referenced by CMenuStaticToolbar::InternalPopupItem(), and CMenuSFToolbar::InternalPopupItem().
Definition at line 884 of file CMenuToolbars.cpp.
Definition at line 811 of file CMenuToolbars.cpp.
Referenced by MenuBarMouseDown(), MenuBarMouseUp(), and OnWinEvent().
Definition at line 837 of file CMenuToolbars.cpp.
Referenced by MenuBarMouseUp().
Definition at line 487 of file CMenuToolbars.cpp.
Referenced by CMenuBand::OnPosRectChangeDB().
Definition at line 316 of file CMenuToolbars.cpp.
Referenced by CMenuBand::ShowDW().
HRESULT CMenuToolbarBase::TrackContextMenu | ( | IContextMenu * | contextMenu, |
POINT | pt | ||
) |
Definition at line 793 of file CMenuToolbars.cpp.
Referenced by CMenuStaticToolbar::InternalContextMenu(), and CMenuSFToolbar::InternalContextMenu().
|
private |
Definition at line 332 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().