我试图让 IlvFileChooser 在默认目录中打开,但找不到任何选项来执行此操作。有什么想法吗?
IlvFileChooserOptions* opt = new IlvFileChooserOptions(IlvFileChooserOpen);
opt->addFilter("Comma separated files (*.csv)", "csv");
IlvFileChooser* dlg = new IlvFileChooser(SIDGetDisplay(), 0, 0, opt);
if (dlg->get() > 0)
{
...
}
最佳答案
从 rogue-wave 文档来看,IlvFileChooser
的第二个参数似乎是默认目录。
您想要的文档是here .
关于c++ - Rogue Wave 中的默认目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30375333/