IContextMenu

Windows Mobile 6.5
4/8/2010

The IContextMenu interface is used by the shell when working with context menu extensions.

Implement IContextMenu when you want to use context menu extensions.

Use this interface to add and invoke extra context menu items.

  • IUnknown methods

    IContextMenu methods Description

    QueryContextMenu

    Adds the extra menu items to the context menu.

    InvokeCommand

    Runs a context menu command when the user selects one that was inserted with QueryContextMenu.

    GetCommandString

    Called by the shell to validate that the command exists, to get the command name, or to get the command help text.

Headershlobj.h
Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2000 and later

Community Additions

Show: