Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Exposes methods that either create or merge a shortcut menu associated with a Shell object. Note that there are several better ways to extend Shell menus. For more information, see Creating Shortcut Menu Handlers.
The IContextMenu interface inherits from the IUnknown interface. IContextMenu also has these types of members:
The IContextMenu interface has these methods.
IContextMenu::GetCommandString Gets information about a shortcut menu command, including the help string and the language-independent, or canonical, name for the command. |
IContextMenu::InvokeCommand Carries out the command associated with a shortcut menu item. |
IContextMenu::QueryContextMenu Adds commands to a shortcut menu. |
Shell extension handlers that export this interface must also export IShellExtInit. For details, see Creating Shell Extension Handlers.
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today