Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

Filename parameters in Dialog

 Post Reply Post Reply
Author
Message
peterakos View Drop Down
Member
Member


Joined: 2015 Jul 13
Online Status: Offline
Posts: 309
Post Options Post Options   Quote peterakos Quote  Post ReplyReply Direct Link To This Post Topic: Filename parameters in Dialog
    Posted: 2017 Oct 03 at 2:04am

User Information:

Cinema 4D Version:   R17 
Platform:   Windows  ;   
Language(s):     C++  ;   

---------

Hello.

How can I add filename parameters in custom GeDialogs ?
I checked SDK Example-Dialog and I didn't find it in the parameter list.
I need the same functionality as a filename parameter in Description GUI.

I assume I have to do it with an edit text and a button (for folder search), right ? 

Thank you for your time.
Back to Top
gr4ph0s View Drop Down
Member
Member


Joined: 2015 Jul 07
Location: France
Online Status: Offline
Posts: 429
Post Options Post Options   Quote gr4ph0s Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Oct 03 at 2:23am
BaseContainer filedata;
filedata.SetBool(FILENAME_DIRECTORY, true);
(FilenameCustomGui *)AddCustomGui(1000, CUSTOMGUI_FILENAME, "External Path", BFH_SCALEFIT, 450, 0, filedata);

For more informations make sure to read FilenameCustomGui and CustomGui Manual


Edited by gr4ph0s - 2017 Oct 03 at 2:24am
Technical lover.
Back to Top
peterakos View Drop Down
Member
Member


Joined: 2015 Jul 13
Online Status: Offline
Posts: 309
Post Options Post Options   Quote peterakos Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Oct 03 at 2:29am
Thank you very much graphos !
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.109 seconds.