i tried to access the file open dialog with the following command.
Code: Select all
gui::IGUIElement x = gui::IGUIElement( gui::EGUIET_FILE_OPEN_DIALOG, guienv, guienv->getFocus(), 1, core::rect<s32>( 100, 150, 200, 250 ) );
guienv is an object of type irr::gui::IGUIEnvironment;
I've already set up everything else and somehow got the window to show but i'm not able to get the file open dialog to show.
this is my while loop
Code: Select all
while( device->run() )
{
driver->beginScene( true, false, video::SColor( 0, 255, 155, 55 ) );
guienv->drawAll();
x.draw();
driver->endScene();
}
x is the object i created in the first statement.
But its still not drawing. what could i do?
If im doing something really stupid, please bare with me