IContextMenu InvokeCommand

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lars Nielsen

    IContextMenu InvokeCommand

    I have made a shell extension dll in c# to add a menuitem to the explorer context menu

    I have implemented these method
    IShellExtInit.I nitializ
    IContextMenu.Qu eryContextMen
    IContextMenu.Ge tCommandStrin
    IContextMenu.In vokeComman

    When I register the dll with regasm and gacutil a menuitem shows in the explorer contextmenu and
    IShellExtInit.I nitialize and IContextMenu.Qu eryContextMenu gets called. But GetCommandStrin g and
    InvokeCommand never gets called when I click the menu item

    Can anyone explain whats going on

    Thank
    Lars
Working...