IContextMenu::InvokeCommandIContextMenu::InvokeCommand*
*Contents  *Index  *Topic Contents
*Previous Topic: IContextMenu::GetCommandString
*Next Topic: IContextMenu::QueryContextMenu

IContextMenu::InvokeCommand


HRESULT InvokeCommand(
    LPCMINVOKECOMMANDINFO lpici
   );

Carries out the command associated with a context menu item.

lpici
Address of a CMINVOKECOMMANDINFO structure containing information about the command.

The shell calls this method when the user chooses a command that the handler added to a context menu. This method may also be called by an application without any corresponding user action.

See also IContextMenu


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.