Shortcut (Context) Menus and Shortcut Menu Handlers
This section discusses the creation of shortcut (context) menus, and the implementation of shortcut menu (verb) handlers.
This section on file types and file associations is organized as follows:
- Verbs and File Associations
- Choosing a Static or Dynamic Shortcut Menu Method
- Best Practices for Shortcut Menu Handlers and Multiple Verbs
- Creating Shortcut Menu Handlers
- Creating Static Cascading Menus
- How to Suppress and Control Verb Visibility
- How to Employ the Verb Selection Model
- How to Use Item Attributes
- How to Implement Custom Verbs for Folders through Desktop.ini
- Customizing a Shortcut Menu Using Dynamic Verbs
- How to Implement the IContextMenu Interface
- Shortcut Menu Reference
For related conceptual background, see the following topics:
- Introduction to File Associations.
- To extend the Shell with file type handlers, see Creating Shell Extension Handlers.
- To create a Shell data store, see Implementing the Basic Folder Object Interfaces.
For related reference documenation, see the following topics:
- To execute a verb on a Shell item, see the InvokeVerb method.
- To retrieve a collection of verbs that can be executed on a Shell item, see the Verbs method.
- To perform an operation on a specified file, see either the ShellExecute or ShellExecuteEx functions.