ReactOS 0.4.16-dev-1028-g8602629
|
#include <CMenuFocusManager.h>
Classes | |
struct | StackEntry |
Public Member Functions | |
HRESULT | PushMenuBar (CMenuBand *mb) |
HRESULT | PushMenuPopup (CMenuBand *mb) |
HRESULT | PushTrackedPopup (HMENU popup) |
HRESULT | PopMenuBar (CMenuBand *mb) |
HRESULT | PopMenuPopup (CMenuBand *mb) |
HRESULT | PopTrackedPopup (HMENU popup) |
![]() | |
~CComObjectRootEx () | |
ULONG | InternalAddRef () |
ULONG | InternalRelease () |
void | Lock () |
void | Unlock () |
HRESULT | _AtlInitialConstruct () |
![]() | |
CComObjectRootBase () | |
~CComObjectRootBase () | |
void | SetVoid (void *) |
HRESULT | _AtlFinalConstruct () |
HRESULT | FinalConstruct () |
void | InternalFinalConstructAddRef () |
void | InternalFinalConstructRelease () |
void | FinalRelease () |
Static Public Member Functions | |
static CMenuFocusManager * | AcquireManager () |
static void | ReleaseManager (CMenuFocusManager *obj) |
![]() | |
static void WINAPI | ObjectMain (bool) |
static const struct _ATL_CATMAP_ENTRY * | GetCategoryMap () |
static HRESULT WINAPI | InternalQueryInterface (void *pThis, const _ATL_INTMAP_ENTRY *pEntries, REFIID iid, void **ppvObject) |
Protected Member Functions | |
CMenuFocusManager () | |
~CMenuFocusManager () | |
Private Types | |
enum | StackEntryType { NoEntry , MenuBarEntry , MenuPopupEntry , TrackedMenuEntry } |
Private Member Functions | |
HRESULT | PushToArray (StackEntryType type, CMenuBand *mb, HMENU hmenu) |
HRESULT | PopFromArray (StackEntryType *pType, CMenuBand **pMb, HMENU *pHmenu) |
LRESULT | GetMsgHook (INT nCode, WPARAM wParam, LPARAM lParam) |
LRESULT | MsgFilterHook (INT nCode, WPARAM wParam, LPARAM lParam) |
HRESULT | PlaceHooks () |
HRESULT | RemoveHooks () |
HRESULT | UpdateFocus () |
HRESULT | IsTrackedWindow (HWND hWnd, StackEntry **pentry=NULL) |
HRESULT | IsTrackedWindowOrParent (HWND hWnd) |
void | DisableMouseTrack (HWND parent, BOOL disableThis) |
void | SetMenuCapture (HWND child) |
LRESULT | ProcessMouseMove (MSG *msg) |
LRESULT | ProcessMouseDown (MSG *msg, BOOL isLButton) |
LRESULT | ProcessMouseUp (MSG *msg, BOOL isLButton) |
Static Private Member Functions | |
static CMenuFocusManager * | GetManager () |
static LRESULT CALLBACK | s_MsgFilterHook (INT nCode, WPARAM wParam, LPARAM lParam) |
static LRESULT CALLBACK | s_GetMsgHook (INT nCode, WPARAM wParam, LPARAM lParam) |
Static Private Attributes | |
static DWORD | TlsIndex = 0 |
Additional Inherited Members | |
![]() | |
LONG | m_dwRef |
Definition at line 24 of file CMenuFocusManager.h.
Enumerator | |
---|---|
NoEntry | |
MenuBarEntry | |
MenuPopupEntry | |
TrackedMenuEntry |
Definition at line 33 of file CMenuFocusManager.h.
|
protected |
Definition at line 176 of file CMenuFocusManager.cpp.
|
protected |
Definition at line 199 of file CMenuFocusManager.cpp.
|
static |
Definition at line 97 of file CMenuFocusManager.cpp.
Referenced by CMenuBand::CMenuBand().
Definition at line 204 of file CMenuFocusManager.cpp.
Referenced by GetMsgHook(), ProcessMouseMove(), and UpdateFocus().
|
staticprivate |
Definition at line 91 of file CMenuFocusManager.cpp.
Referenced by AcquireManager(), s_GetMsgHook(), and s_MsgFilterHook().
Definition at line 557 of file CMenuFocusManager.cpp.
Referenced by s_GetMsgHook().
|
private |
Definition at line 257 of file CMenuFocusManager.cpp.
Referenced by ProcessMouseDown(), ProcessMouseMove(), and ProcessMouseUp().
Definition at line 283 of file CMenuFocusManager.cpp.
Referenced by GetMsgHook().
Definition at line 491 of file CMenuFocusManager.cpp.
Referenced by s_MsgFilterHook().
|
private |
Definition at line 670 of file CMenuFocusManager.cpp.
Referenced by UpdateFocus().
|
private |
Definition at line 152 of file CMenuFocusManager.cpp.
Referenced by PopMenuBar(), PopMenuPopup(), and PopTrackedPopup().
Definition at line 924 of file CMenuFocusManager.cpp.
Referenced by CMenuBand::ShowDW().
Definition at line 969 of file CMenuFocusManager.cpp.
Referenced by CMenuBand::ShowDW().
Definition at line 1016 of file CMenuFocusManager.cpp.
Referenced by CMenuBand::_TrackContextMenu(), and CMenuBand::_TrackSubMenu().
Definition at line 399 of file CMenuFocusManager.cpp.
Referenced by GetMsgHook().
Definition at line 317 of file CMenuFocusManager.cpp.
Referenced by GetMsgHook(), and MsgFilterHook().
Definition at line 456 of file CMenuFocusManager.cpp.
Referenced by GetMsgHook().
Definition at line 862 of file CMenuFocusManager.cpp.
Referenced by CMenuBand::ShowDW().
Definition at line 878 of file CMenuFocusManager.cpp.
Referenced by CMenuBand::ShowDW().
|
private |
Definition at line 139 of file CMenuFocusManager.cpp.
Referenced by PushMenuBar(), PushMenuPopup(), and PushTrackedPopup().
Definition at line 904 of file CMenuFocusManager.cpp.
Referenced by CMenuBand::_TrackContextMenu(), and CMenuBand::_TrackSubMenu().
|
static |
Definition at line 121 of file CMenuFocusManager.cpp.
Referenced by CMenuBand::~CMenuBand().
|
private |
Definition at line 695 of file CMenuFocusManager.cpp.
Referenced by UpdateFocus().
|
staticprivate |
Definition at line 134 of file CMenuFocusManager.cpp.
Referenced by PlaceHooks().
|
staticprivate |
Definition at line 129 of file CMenuFocusManager.cpp.
Referenced by PlaceHooks().
Definition at line 237 of file CMenuFocusManager.cpp.
Referenced by UpdateFocus().
|
private |
Definition at line 713 of file CMenuFocusManager.cpp.
Referenced by PopMenuBar(), PopMenuPopup(), PopTrackedPopup(), PushMenuBar(), PushMenuPopup(), and PushTrackedPopup().
|
private |
Definition at line 88 of file CMenuFocusManager.h.
Referenced by DisableMouseTrack(), IsTrackedWindow(), IsTrackedWindowOrParent(), PopFromArray(), PushMenuBar(), PushToArray(), PushTrackedPopup(), and UpdateFocus().
|
private |
Definition at line 87 of file CMenuFocusManager.h.
Referenced by DisableMouseTrack(), IsTrackedWindow(), IsTrackedWindowOrParent(), PopFromArray(), PushToArray(), and UpdateFocus().
|
private |
Definition at line 71 of file CMenuFocusManager.h.
Referenced by GetMsgHook(), ProcessMouseDown(), ProcessMouseMove(), ProcessMouseUp(), SetMenuCapture(), and UpdateFocus().
|
private |
Definition at line 59 of file CMenuFocusManager.h.
Referenced by GetMsgHook(), MsgFilterHook(), PlaceHooks(), PopMenuBar(), PopMenuPopup(), ProcessMouseDown(), ProcessMouseMove(), ProcessMouseUp(), PushMenuPopup(), PushTrackedPopup(), and UpdateFocus().
|
private |
Definition at line 74 of file CMenuFocusManager.h.
Referenced by PopMenuBar(), PopMenuPopup(), and ProcessMouseMove().
|
private |
Definition at line 64 of file CMenuFocusManager.h.
Referenced by GetMsgHook(), PlaceHooks(), and RemoveHooks().
|
private |
Definition at line 63 of file CMenuFocusManager.h.
Referenced by MsgFilterHook(), PlaceHooks(), and RemoveHooks().
|
private |
Definition at line 73 of file CMenuFocusManager.h.
Referenced by ProcessMouseMove().
|
private |
Definition at line 61 of file CMenuFocusManager.h.
Referenced by GetMsgHook(), MsgFilterHook(), and UpdateFocus().
|
private |
Definition at line 89 of file CMenuFocusManager.h.
Referenced by PopMenuPopup(), and PushMenuPopup().
|
private |
Definition at line 67 of file CMenuFocusManager.h.
Referenced by DisableMouseTrack().
|
private |
Definition at line 80 of file CMenuFocusManager.h.
Referenced by ProcessMouseDown(), and ProcessMouseMove().
|
private |
Definition at line 60 of file CMenuFocusManager.h.
Referenced by MsgFilterHook(), PushMenuPopup(), and UpdateFocus().
|
private |
Definition at line 83 of file CMenuFocusManager.h.
Referenced by UpdateFocus().
|
private |
Definition at line 69 of file CMenuFocusManager.h.
Referenced by CMenuFocusManager(), and ProcessMouseMove().
|
private |
Definition at line 77 of file CMenuFocusManager.h.
Referenced by MsgFilterHook(), and PushTrackedPopup().
|
private |
Definition at line 78 of file CMenuFocusManager.h.
Referenced by MsgFilterHook(), and PushTrackedPopup().
|
private |
Definition at line 76 of file CMenuFocusManager.h.
Referenced by MsgFilterHook(), and PushTrackedPopup().
|
private |
Definition at line 65 of file CMenuFocusManager.h.
Referenced by CMenuFocusManager(), and PlaceHooks().
|
private |
Definition at line 81 of file CMenuFocusManager.h.
Referenced by ProcessMouseDown().
|
staticprivate |
Definition at line 29 of file CMenuFocusManager.h.
Referenced by AcquireManager(), GetManager(), and ReleaseManager().