---------
I don't know if it's possible to do this, but what I'd like to do is add icons to the menus in my GeDialog. Looking at the object manager for example, the menu entries there have icons, but these menu entries are C4D commands. Adding a C4D command to my menus will add the relevant icon, but how do (or can I) do this for my own menu entries? I normally add these with MenuAddString(), but there's no apparent way to add an icon.

There's also the function MenuSetResource() in gui.h, which sounds as if it might do the trick, but there's no documentation on this or on what a menu resource might be.

The other interesting thing I noticed is that, adding a C4D command to a dialog menu with MenuAddCommand() automatically makes the menu into a tear-off palette, which they otherwise aren't. Is it possible to make a menu into a tear-off, without adding an internal command?

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

On 01/03/2011 at 05:56, xxxxxxxx wrote:

Yes, I had a look at this and I can't see how it would work unless it's possible to load a menu resource. At the moment I create menus for my dialogs manually, using MenuAddString() etc. in code. If it was possible to load a resource file containing a menu structure, maybe it would work, but I can't see how that is done, or even if it can be.