THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/12/2012 at 09:11, xxxxxxxx wrote:
Cinema 4D Version: r13
Platform: Mac ;
Language(s) : C++ ;
So I've got a question on how to create and customize the top file menu on a dialog? I'm actually at a loss on where to start? Do you make changes to the GeDialog inherited class or do I make modifications in the .res file?
Anyone know which direction I should go in?
Thanks plugin cafe community!
On 07/12/2012 at 11:19, xxxxxxxx wrote:
In your CreateLayout() function, do something likethis (from my sIBL Loader plugin) :
MenuAddString(6012, "Apply preset");
MenuAddString(6013, "Clear sIBL preset from scene");
MenuAddString(6003, "Add new collection...");
MenuAddString(6004, "Remove current collection...");
MenuAddString(6005, "Reload collection");
MenuAddString(6006, "Reload preset");
MenuAddString(6007, "Save preferences");
MenuAddString(6010, "Close Manager");
MenuAddString(6020, "Show help file (PDF)");
On 07/12/2012 at 12:01, xxxxxxxx wrote:
There's an example in the SDK called AsyncTest that has some working menu code in it.
That's where I learned how to do it in C++.
On 07/12/2012 at 12:55, xxxxxxxx wrote:
Thanks ScottA and spedler. Just what I needed.