I am using Save As dialog of IlvFileBrowser as below
IlvFileBrowser dialog(SIDGetDisplay(),
SIDGetSystemView(),
NULL,
1,
extensions,
descriptions);
dialog.setType(IlvFileSelectorSave);
dialog.setDirectory(lpStrDir);
dialog.setFileName(doc->getFilename());
dialog.setIndex(0);
dialog.moveToScreen();
If any other screen/ dialog from rogue-wave is open, the save-as dialog becomes non modal. Very strange. Any ideas why this would happen?
You can use virtual void
IlvFileBrowser::show()
function to display dialog which is described as modal in the documentation. I can't see howIlvFileBrowser::moveToScreen()
makes yourIlvFileBrowser
to display as modal dialog.