I need some help with CommonFileDialog because when through event call this code:
CEGUI::Window* mainWindow = CEGUI::WindowManager::getSingleton().getWindow((CEGUI::utf8*)"Root");
mainWindow->addChildWindow(CEGUI::CommonFileDialog::getSingleton().getWindow());
CEGUI::CommonFileDialogInput input;
input.setHandle (1); // Set the handle to determine the originator
input.setFilter ("Archive (*.jpg)|*.jpg|"); // Extensions
input.setOpenFileDialog (true); // Load mode
input.setDefaultExtension ("*.jpg"); // jpg is the first one to display
CEGUI::CommonFileDialog::getSingleton().openDialog(input); // Open the common file dialog
And I don't view any window and give an internal runtime error. I debug the code and all it's good, but when pass through :
_mWindow->show();
in CommonFileDialog constructor don't show the window. I appreciate any help with it to can terminate the app in which I'm working right now.
Thanks in advance.
CommonFileDialog problem when want to show it
Moderators: CEGUI MVP, CEGUI Team
Re: CommonFileDialog problem when want to show it
First of all, posting your question multiple times will just make us angry and less likely to respond to you.
I have removed all of your necromancing attempts. Please don't do this kind of shit again. Thanks!
Now, to the problem. I am not familiar with common file dialogs, I can advice you to post the logs so others have a higher chance of being able to help you.
I have removed all of your necromancing attempts. Please don't do this kind of shit again. Thanks!
Now, to the problem. I am not familiar with common file dialogs, I can advice you to post the logs so others have a higher chance of being able to help you.
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 9 guests