Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Customizing the file menu on a dialog

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 416 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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();   
        
        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post