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

    Setting a CustomGUI Filename

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 351 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 01/04/2006 at 20:26, xxxxxxxx wrote:

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

      ---------
      Hi,
      I would just like to set the CustomGui Filename that was created with ResEdit to a specified directory. It defaults to nothing, but I would like to default it to a directory. I have failed at every attempt at setting this field, so any help would be much appreciated.
      I know it deals with FindCustomGui from the GeDialog class but the SDK docs don't seem to explain how to set the data of a customgui element. Thanks in advance for any help.
      -Josh-

      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 02/04/2006 at 12:49, xxxxxxxx wrote:

        The underlying datatype of CUSTOMGUI_FILENAME is simple Filename. So you can put a Filename into a GeData and then do customgui->SetData(data), i.e. calling the BaseCustomGui function for setting data.

        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 03/04/2006 at 17:12, xxxxxxxx wrote:

          Thanks for the help Mikael. I am still getting confused from the point of calling FindCustomGui(). Should I be converting that to a Filename* or BaseCustomGui*? With the following code:

              
              
              
              
              FilenameCustomGui *scg = (FilenameCustomGui* )FindCustomGui(IDC_SCENEDIR_FIELD, HYBRIDNETGUI_ID);
              
              
              
              
              scg->SetData(GeData(String("\\Fats\SharedDocs")));
              
              
              
          

          how can I set the directory that was created with ResEdit (IDC_SCENEDIR_FIELD) to the directory [\\Fats\SharedDocs](file://\\Fats\SharedDocs)? As always any help would be much appreciated.
          -Josh-

          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 03/04/2006 at 18:56, xxxxxxxx wrote:

            Perhaps,

            scg->SetData(GeData(Filename("\\\\Fats\\SharedDocs")));

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