ReactOS 0.4.15-dev-5667-ged97270
IMenuPopup Interface Reference
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 2464 of file shobjidl.idl.

Member Typedef Documentation

◆ MP_POPUPFLAGS

Definition at line 2493 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 2476 of file shobjidl.idl.

2477 {
2478 MPPF_SETFOCUS = 0x00000001,
2479 MPPF_INITIALSELECT = 0x00000002,
2480 MPPF_NOANIMATE = 0x00000004,
2481 MPPF_KEYBOARD = 0x00000010,
2482 MPPF_REPOSITION = 0x00000020,
2483 MPPF_FORCEZORDER = 0x00000040,
2484 MPPF_FINALSELECT = 0x00000080,
2485 MPPF_TOP = 0x20000000,
2486 MPPF_LEFT = 0x40000000,
2487 MPPF_RIGHT = 0x60000000,
2488 MPPF_BOTTOM = 0x80000000,
2489 MPPF_POS_MASK = 0xE0000000,
2490 MPPF_ALIGN_LEFT = 0x02000000,
2491 MPPF_ALIGN_RIGHT = 0x04000000
2492 };
@ MPPF_ALIGN_RIGHT
Definition: shobjidl.idl:2491
@ MPPF_FINALSELECT
Definition: shobjidl.idl:2484
@ MPPF_INITIALSELECT
Definition: shobjidl.idl:2479
@ MPPF_FORCEZORDER
Definition: shobjidl.idl:2483

◆ tagMENUPOPUPSELECT

Enumerator
MPOS_EXECUTE 
MPOS_FULLCANCEL 
MPOS_CANCELLEVEL 
MPOS_SELECTLEFT 
MPOS_SELECTRIGHT 
MPOS_CHILDTRACKING 

Definition at line 2466 of file shobjidl.idl.

2467 {
2468 MPOS_EXECUTE = 0,
2474 };
@ MPOS_CANCELLEVEL
Definition: shobjidl.idl:2470
@ MPOS_SELECTRIGHT
Definition: shobjidl.idl:2472
@ MPOS_CHILDTRACKING
Definition: shobjidl.idl:2473

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: