Default Directory in Rogue Wave

55 views Asked by At

I am trying to get IlvFileChooser to open in a default directory but can't find any option to do that. Any ideas please?

IlvFileChooserOptions* opt = new IlvFileChooserOptions(IlvFileChooserOpen);
opt->addFilter("Comma separated files (*.csv)", "csv");

IlvFileChooser* dlg = new IlvFileChooser(SIDGetDisplay(), 0, 0, opt);

if (dlg->get() > 0) 
{
  ...
}
1

There are 1 answers

0
Mustafa Ozturk On BEST ANSWER

From the rogue-wave documentation, it seems like the second argument to IlvFileChooser is the default directory.

The documentation is you want is here.