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!
IGUIFileOpenDialog can`t find file in another driver
You should be able to type the drive-letter in the editbox where it shows the path. FileOpen dialog is not yet that much advanced, but that should at least work.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Uhm... I don't think there is more to it. You type in the new driveletter (like "d:" and that's it.h++ wrote:Can you tell me further detailsCuteAlien wrote:You should be able to type the drive-letter in the editbox where it shows the path.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm