28 public CComCoClass<CMenuBand, &CLSID_MenuBand>,
29 public CComObjectRootEx<CComMultiThreadModelNoCS>,
39 public IWinEventHandler,
HRESULT _CallCBWithItemPidl(LPITEMIDLIST pidl, UINT uMsg, WPARAM wParam, LPARAM lParam)
STDMETHOD() InvalidateItem(LPSMDATA psmd, DWORD dwFlags) override
STDMETHOD() SetMinWidth(THIS) override
STDMETHOD() UIActivateIO(BOOL fActivate, LPMSG lpMsg) override
STDMETHOD() OnWinEvent(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *theResult) override
STDMETHOD() IsWindowOwner(HWND hWnd) override
STDMETHOD() OnSelect(DWORD dwSelectType) override
HRESULT _OnPopupSubMenu(IShellMenu *childShellMenu, POINTL *pAt, RECTL *pExclude, BOOL mouseInitiated)
HRESULT _GetTopLevelWindow(HWND *topLevel)
STDMETHOD() DoDefaultAction(THIS) override
STDMETHOD() GetSubMenu(THIS) override
STDMETHOD() HasFocusIO() override
STDMETHOD() SetClient(IUnknown *punkClient) override
STDMETHOD() GetSizeMax(ULARGE_INTEGER *pcbSize) override
CMenuSFToolbar * m_SFToolbar
CMenuFocusManager * m_focusManager
HRESULT _TrackContextMenu(IContextMenu *popup, INT x, INT y)
HRESULT _TrackSubMenu(HMENU popup, INT x, INT y, RECT &rcExclude)
STDMETHOD() QueryStatus(const GUID *pguidCmdGroup, ULONG cCmds, OLECMD prgCmds[], OLECMDTEXT *pCmdText) override
STDMETHOD() TranslateMenuMessage(MSG *pmsg, LRESULT *plRet) override
STDMETHOD() QueryService(REFGUID guidService, REFIID riid, void **ppvObject) override
CMenuToolbarBase * m_popupBar
STDMETHOD() GetSite(REFIID riid, PVOID *ppvSite) override
STDMETHOD() ShowDW(BOOL fShow) override
STDMETHOD() TranslateAcceleratorIO(LPMSG lpMsg) override
HRESULT _DisableMouseTrack(BOOL bDisable)
CComPtr< IMenuPopup > m_subMenuChild
HRESULT _KillPopupTimers()
STDMETHOD() GetTop(THIS) override
HRESULT _MenuItemSelect(DWORD changeType)
HRESULT _MenuBarMouseUp(HWND hwnd, INT item, BOOL isLButton)
STDMETHOD() GetParentSite(THIS) override
CComPtr< IOleWindow > m_site
HRESULT _SetParentBand(CMenuBand *parent)
STDMETHOD() SetToolbar(THIS) override
STDMETHOD() SetTheme(THIS) override
STDMETHOD() ResizeBorderDW(LPCRECT prcBorder, IUnknown *punkToolbarSite, BOOL fReserved) override
CComPtr< CMenuBand > m_childBand
STDMETHOD() GetClassID(CLSID *pClassID) override
CComPtr< CMenuBand > m_parentBand
HRESULT _CancelCurrentPopup()
STDMETHOD() SetSite(IUnknown *pUnkSite) override
HRESULT _CallCBWithItemId(UINT Id, UINT uMsg, WPARAM wParam, LPARAM lParam)
STDMETHOD() SetNoBorder(THIS) override
STDMETHOD() OnPosRectChangeDB(RECT *prc) override
STDMETHOD() CloseDW(DWORD dwReserved) override
CComPtr< IShellMenuCallback > m_psmc
STDMETHOD() GetMenu(HMENU *phmenu, HWND *phwnd, DWORD *pdwFlags) override
HRESULT _KeyboardItemChange(DWORD change)
STDMETHOD() GetBandInfo(DWORD dwBandID, DWORD dwViewMode, DESKBANDINFO *pdbi) override
HRESULT _ChangeHotItem(CMenuToolbarBase *tb, INT id, DWORD dwFlags)
HRESULT _CallCB(UINT uMsg, WPARAM wParam, LPARAM lParam, UINT id=0, LPITEMIDLIST pidl=NULL)
STDMETHOD() ContextSensitiveHelp(BOOL fEnterMode) override
STDMETHOD() SetShellFolder(IShellFolder *psf, LPCITEMIDLIST pidlFolder, HKEY hKey, DWORD dwFlags) override
STDMETHOD() SetSubMenu(IMenuPopup *pmp, BOOL fSet) override
STDMETHOD() Exec(const GUID *pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut) override
HRESULT _SetChildBand(CMenuBand *child)
STDMETHOD() SetMenu(HMENU hmenu, HWND hwnd, DWORD dwFlags) override
HRESULT AdjustForTheme(BOOL bFlatStyle)
CComPtr< IMenuPopup > m_subMenuParent
STDMETHOD() GetShellFolder(DWORD *pdwFlags, LPITEMIDLIST *ppidl, REFIID riid, void **ppv) override
STDMETHOD() GetBottom(THIS) override
HRESULT _MenuBarMouseDown(HWND hwnd, INT item, BOOL isLButton)
STDMETHOD() GetTracked(THIS) override
STDMETHOD() Save(IStream *pStm, BOOL fClearDirty) override
STDMETHOD() GetClient(IUnknown **ppunkClient) override
CMenuToolbarBase * m_hotBar
CMenuStaticToolbar * m_staticToolbar
STDMETHOD() GetWindow(HWND *phwnd) override
STDMETHOD() IsMenuMessage(MSG *pmsg) override
HRESULT _ChangePopupItem(CMenuToolbarBase *tb, INT id)
STDMETHOD() Load(IStream *pStm) override
STDMETHOD() GetMenuInfo(IShellMenuCallback **ppsmc, UINT *puId, UINT *puIdAncestor, DWORD *pdwFlags) override
STDMETHOD() SetMenuToolbar(IUnknown *punk, DWORD dwFlags) override
STDMETHOD() IsDirty() override
HRESULT _BeforeCancelPopup()
return pTarget GetState()
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
#define COM_INTERFACE_ENTRY_IID(iid, x)
#define DECLARE_PROTECT_FINAL_CONSTRUCT()
#define DECLARE_NOT_AGGREGATABLE(x)
#define DECLARE_REGISTRY_RESOURCEID(x)
const IID IID_IObjectWithSite
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
const GUID IID_IOleWindow
const GUID IID_IPersistStream
ITEMIDLIST UNALIGNED * LPITEMIDLIST
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
TW_UINT32 TW_UINT16 TW_UINT16 MSG
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject