Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
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.
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!
On 05/07/2008 at 10:06, xxxxxxxx wrote:
thanks seb
On 05/07/2008 at 10:08, xxxxxxxx wrote:
You're welcome