Export (0) Print
Expand All

IContextMenuCB interface

Exposes a method that enables the callback of a context menu. For example, to add a shield icon to a menuItem that requires elevation.

Members

The IContextMenuCB interface inherits from the IUnknown interface. IContextMenuCB also has these types of members:

Methods

The IContextMenuCB interface has these methods.

MethodDescription
CallBack

Enables the callback function for a context menu.

 

Remarks

This is the callback interface specified in the DEFCONTEXTMENU structure passed with the function SHCreateDefaultContextMenu.

This interface enables IShellFolder implementations to manage context menu messages before, after, and during the context menu handling of these messages.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 6.0.6000 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft