grouping plugins in submenu
-
On 23/06/2014 at 10:11, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R15
Platform: Windows ; Mac ;
Language(s) : C++ ;---------
Is there a way to group plugins from different libraries into one submenu under Plugins?Ama
-
On 24/06/2014 at 00:56, xxxxxxxx wrote:
Just put them all in a folder inside plugins i think should work..
-
On 24/06/2014 at 15:43, xxxxxxxx wrote:
The plugins will most likely be installed at different times. So they will be in different folders. I was hoping to programmatically add them to a folder in plugins ( no need to create a separate menu ).
Ama
-
On 24/06/2014 at 16:15, xxxxxxxx wrote:
Ah well in that case..
Override PluginMessage to listen for C4DPL_BUILDMENU and do some custom menu stuff. You can use a single plugin to create a custom menu or even a submenu of an existing menu for as many plugins as you have the ID`s for..
Look in the C++ help under c4d_plugin for info...
-
On 06/07/2014 at 08:25, xxxxxxxx wrote:
Thank you!
I tested the basic EnhanceMenu() function. It adds a menu to the top menu bar in the application. I currently have a couple of plugins scattered throughout the plugins menu. Two of them are grouped in a submenu I don't like the name of. I would like to move all of these plugins to one folder with submenus.
One other issue is that when I create the new menu the plugins remain in the plugins menu I would like them to not be there. Is that possible?
Ama
-
On 06/07/2014 at 14:28, xxxxxxxx wrote:
Yeah - the way to do it is when you register the plugin use the PLUGINFLAG_HIDEPLUGINMENU flag. And then simply add the plugin to your custom menu manually..
-
On 06/07/2014 at 15:22, xxxxxxxx wrote:
Thank you!
Ama