05-24-2016, 07:16 PM
Garrett, here's some code that creates duplicate menu groups. I have exactly the same code in two plugins, the only difference being the plugin name:
I have a namespace gx with a class "About" for a standardized About box layout and behavior. I'll send you the .cpp and .hpp files if you'd like.
Code:
this->__aboutMenuGroup = hdi::core::MenuGroup(
hdi::core::AboutMenuGroup,
"About Graffix Plugins");
this->__aboutMenuItem = hdi::core::MenuItem(
__aboutMenuGroup,
"InCopy Text Link...",
HDI_CORE_CALLBACK(gx::About, this, __aboutBoxCB)
);
I have a namespace gx with a class "About" for a standardized About box layout and behavior. I'll send you the .cpp and .hpp files if you'd like.