2015-05-21 31 views
0

我想让IlvFileChooser在默认目录中打开,但找不到任何选项来执行此操作。请有任何想法吗?Rogue Wave中的默认目录

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

从流氓波文档,似乎IlvFileChooser的第二个参数是默认目录。

您要的文档是here