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
    • Recent
    • Tags
    • Users
    • Login

    FilenameCustomGui in Dialog

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 380 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 05/07/2008 at 09:52, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   10.111 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hi all.

      Short question: How do I tell my FilenameCustomGui, which is basically working, to select a directory?
      Btw. I am not using a resource file, just
      (FilenameCustomGui * )AddCustomGui(100015, CUSTOMGUI_FILENAME, "External Path", BFH_SCALEFIT, 450, 0, filedata);

      Thanks and best wishes.

      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 05/07/2008 at 10:01, xxxxxxxx wrote:

        Hi!

        Check out FilenameCustomGui in the Documentation. You see a parameter called FILENAME_DIRECTORY.

        filedata is a BaseContainer that contains all parameters. You see that FILENAME_DIRECTORY is a boolean-value. Means, you have to set a BaseContainer with FILENAME_DIRECTORY (true).

        BaseContainer filedata;
            filedata.SetBool(FILENAME_DIRECTORY,true);
             (FilenameCustomGui * )AddCustomGui(100015, CUSTOMGUI_FILENAME, "External Path", BFH_SCALEFIT, 450, 0, filedata);

        Bye!

        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 05/07/2008 at 10:06, xxxxxxxx wrote:

          thanks seb 😄

          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 05/07/2008 at 10:08, xxxxxxxx wrote:

            You're welcome 🙂

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