IContextMenuCB interface (shobjidl_core.h)
Exposes a method that enables the callback of a context menu. For example, to add a shield icon to a menuItem that requires elevation.
Inheritance
The IContextMenuCB interface inherits from the IUnknown interface. IContextMenuCB also has these types of members:
Methods
The IContextMenuCB interface has these methods.
IContextMenuCB::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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |