Customizing the file menu on a dialog
-
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:
User Information:
Cinema 4D Version: r13
Platform: Mac ;
Language(s) : C++ ;---------
Hey Everyone,
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!
Jimmy
http://www.jimmycoppens.com -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/12/2012 at 11:19, xxxxxxxx wrote:
In your CreateLayout() function, do something likethis (from my sIBL Loader plugin) :
MenuFlushAll(); MenuSubBegin("File"); MenuAddString(6012, "Apply preset"); MenuAddString(6013, "Clear sIBL preset from scene"); MenuAddSeparator(); MenuAddString(6003, "Add new collection..."); MenuAddString(6004, "Remove current collection..."); MenuAddString(6005, "Reload collection"); MenuAddString(6006, "Reload preset"); MenuAddSeparator(); MenuAddString(6007, "Save preferences"); MenuAddString(6010, "Close Manager"); MenuSubEnd(); MenuSubBegin("Help"); MenuAddString(6020, "Show help file (PDF)"); MenuAddString(6030, "About..."); MenuSubEnd(); MenuFinished();
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
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++.-ScottA
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/12/2012 at 12:55, xxxxxxxx wrote:
Thanks ScottA and spedler. Just what I needed.
Jimmy