CUSTOMGUI_FILENAME



  • On 17/04/2018 at 12:27, xxxxxxxx wrote:

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

    ---------
    Hi,

    I have a dialog and would like to provide a gadget which allows the user to browse for a path.
    For this I have used AddCustomGUI of type CUSTOMGUI_FILENAME to the dialog.
    I have played with the FILENAME_DIRECTORY option, and notice that when set TRUE this allows to browse for a folder, without seeing files. When set to FALSE you can browse for a specific file, but have no opportunity to select the folder (it just opens that selected folder).

    What I am looking for is a way to browse for a folder to be selected, but with the option to show the files.
    What I mean by that is to show the files and folders to the user, so s/he can recognize the target location by the files that are available in a folder, and then actually select that folder.

    Similar to the situation when you are looking for a particular image file in a complex tree structure of folders. Once the particular image found you then select OK to indicate this is the folder you want.

    In short: I want to look for files, but select a folder.
    Can this be done (with the available inbuilt functionality)?
    Of course it can be implemented from scratch ... which I'd like to avoid.



  • On 18/04/2018 at 08:57, xxxxxxxx wrote:

    Hi,

    unfortunately our API provides no options to change the behavior of file requesters. Sorry.


Log in to reply