ReactOS  0.4.14-dev-50-g13bb5e2
IMenuPopup Interface Reference

import"shobjidl.idl";

Inheritance diagram for IMenuPopup:
Collaboration diagram for IMenuPopup:

Public Types

enum  tagMENUPOPUPSELECT {
  MPOS_EXECUTE = 0, MPOS_FULLCANCEL, MPOS_CANCELLEVEL, MPOS_SELECTLEFT,
  MPOS_SELECTRIGHT, MPOS_CHILDTRACKING
}
 
enum  tagMENUPOPUPPOPUPFLAGS {
  MPPF_SETFOCUS = 0x00000001, MPPF_INITIALSELECT = 0x00000002, MPPF_NOANIMATE = 0x00000004, MPPF_KEYBOARD = 0x00000010,
  MPPF_REPOSITION = 0x00000020, MPPF_FORCEZORDER = 0x00000040, MPPF_FINALSELECT = 0x00000080, MPPF_TOP = 0x20000000,
  MPPF_LEFT = 0x40000000, MPPF_RIGHT = 0x60000000, MPPF_BOTTOM = 0x80000000, MPPF_POS_MASK = 0xE0000000,
  MPPF_ALIGN_LEFT = 0x02000000, MPPF_ALIGN_RIGHT = 0x04000000
}
 
typedef int MP_POPUPFLAGS
 
- Public Types inherited from IOleWindow
typedef IOleWindowLPOLEWINDOW
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Public Member Functions

HRESULT Popup ([in] POINTL *ppt, [in] RECTL *prcExclude, [in] MP_POPUPFLAGS dwFlags)
 
HRESULT OnSelect ([in] DWORD dwSelectType)
 
HRESULT SetSubMenu ([in] IMenuPopup *pmp, [in] BOOL fSet)
 
- Public Member Functions inherited from IDeskBar
HRESULT SetClient ([in] IUnknown *punkClient)
 
HRESULT GetClient ([out] IUnknown **ppunkClient)
 
HRESULT OnPosRectChangeDB ([in] RECT *prc)
 
- Public Member Functions inherited from IOleWindow
HRESULT GetWindow ([out] HWND *phwnd)
 
HRESULT ContextSensitiveHelp ([in] BOOL fEnterMode)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Detailed Description

Definition at line 2457 of file shobjidl.idl.

Member Typedef Documentation

◆ MP_POPUPFLAGS

Definition at line 2486 of file shobjidl.idl.

Member Enumeration Documentation

◆ tagMENUPOPUPPOPUPFLAGS

Enumerator
MPPF_SETFOCUS 
MPPF_INITIALSELECT 
MPPF_NOANIMATE 
MPPF_KEYBOARD 
MPPF_REPOSITION 
MPPF_FORCEZORDER 
MPPF_FINALSELECT 
MPPF_TOP 
MPPF_LEFT 
MPPF_RIGHT 
MPPF_BOTTOM 
MPPF_POS_MASK 
MPPF_ALIGN_LEFT 
MPPF_ALIGN_RIGHT 

Definition at line 2469 of file shobjidl.idl.

◆ tagMENUPOPUPSELECT

Enumerator
MPOS_EXECUTE 
MPOS_FULLCANCEL 
MPOS_CANCELLEVEL 
MPOS_SELECTLEFT 
MPOS_SELECTRIGHT 
MPOS_CHILDTRACKING 

Definition at line 2459 of file shobjidl.idl.

Member Function Documentation

◆ OnSelect()

HRESULT IMenuPopup::OnSelect ( [in] DWORD  dwSelectType)

Implemented in CStartMenuSite, CMenuBand, and CMenuDeskBar.

◆ Popup()

HRESULT IMenuPopup::Popup ( [in] POINTL ppt,
[in] RECTL prcExclude,
[in] MP_POPUPFLAGS  dwFlags 
)

◆ SetSubMenu()

HRESULT IMenuPopup::SetSubMenu ( [in] IMenuPopup pmp,
[in] BOOL  fSet 
)

Implemented in CStartMenuSite, CMenuBand, and CMenuDeskBar.


The documentation for this interface was generated from the following file: