I created a program that works with the application in full screen mode. I would like the QMessageBox from my program to appear on top of an application that runs in full screen.
The platform is Windows 7 and I use Qt.
I tried:
QMessageBox *msgBox = new QMessageBox;
msgBox->setParent(0);
msgBox->setWindowTitle(title);
msgBox->setText(text);
msgBox->setWindowFlags(Qt::WindowStaysOnTopHint);
msgBox->show();
Bad luck. Any clues?
source
share