I know I can control the availability of my own COM menu commands, but is there a way to disable a standard command with a contextitems call ?
For example, I have integration that only has a context when within a subscription folder branch. I enable my own commands, some of which I would like to be replacements for standard menu commands. I'd like to enable my command and disable the standard command.
In the popup menu commands, for example, we can add a command for "Folder." I add "Add Special Subfolder" and I'd like to disable the "New\Document Folder" command only in this context.
Is it possible ?
I see that we can add wrappers around some of the generic functions, like BrowseFolderCmd, but not NewIManDocumentFolderCmd.
Alternatively, can the "standard" call to New\Document Folder (for example) be made from a COM addin without constructing it from scratch ? That would enable logic like the following:
1) Replace the Menu command for Folder\New\Document Folder with My Command
2) In MyCommand, If MyCondition = True Then Do MYCommand ELSE Do Standard Command....
Thanks.
Bruce
Edited by bfelknor on 03/05/05 05:35 PM (server time).