LoadDialog
-
On 24/01/2013 at 11:51, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) :---------
I feel so dumb. The Python API has the c4d.storage.LoadDialog() function. What can I use in C++
to show a dialog for selecting a file on the HD?Thanks,
Niklas -
On 24/01/2013 at 11:55, xxxxxxxx wrote:
Try this:
Filename file; // Assigns a variable to the filename class Filename dir = GeGetC4DPath(C4D_PATH_DESKTOP); //Opens file browser starting at the desktop file.SetDirectory(dir); file.FileSelect(FILESELECTTYPE_SCENES, FILESELECT_LOAD, "Dialog Window Text Here"); LoadFile(file);
-ScottA
-
On 24/01/2013 at 12:14, xxxxxxxx wrote:
This, Sir, is exactly what I was searching for.