add plugin command in TreeViewFunction

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 27/08/2004 at 08:10, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.200 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hello,
I like to add a command plugin in the treeviewfunction
CreateContextMenuColumn().  For the menu its possible with the
MenuAddCommand( plugin-id) command. But how can I added a
command-plugin in the context menu for the right mouse button ?
It´s possible, to start a command plugin per command from any position
of code?
Marky

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/08/2004 at 00:16, xxxxxxxx wrote:

Yes. As described in the docs for ShowPopupMenu(), you can do this by adding a menu element with the command plugin's ID and name "CMD".

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 29/08/2004 at 22:22, xxxxxxxx wrote:

Thanks, it works 🙂