IGUIFileOpenDialog can`t find file in another driver
Posted: Tue Dec 15, 2009 7:22 am
I am using IGUIFileOpenDialog and it works well! But I found the IGUIFileOpenDialog seems can only find file in current disk driver. Hence how to change the working directory by code?
I found someones code like this:
env->addFileOpenDialog(L"Please select a model file to open");
IGUIFileOpenDialog* dialog =
(IGUIFileOpenDialog*)event.GUIEvent.Caller;
loadModel(core::stringc(dialog->getFilename()).c_str());
but I don`t know what dose it means?
Can somebody so a hand for me!
I found someones code like this:
env->addFileOpenDialog(L"Please select a model file to open");
IGUIFileOpenDialog* dialog =
(IGUIFileOpenDialog*)event.GUIEvent.Caller;
loadModel(core::stringc(dialog->getFilename()).c_str());
but I don`t know what dose it means?
Can somebody so a hand for me!