thanks, I meant when other dialogs are not in my app but regular dialogs from other softwares. Is there a put on top (like hint Qt::WindowStaysOnTopHint) but then after putting it on top return to a "normal" state where others can then overlap?
thanks
bye
To do this, you can try QWidget::raise() as jpn suggested, but it may not work. You can look here for some information about how this used to work. There are ways to accomplish what you want that are Windows-specific code. Searching MSDN for SetForegroundWindow will get you some of what you need. With a solid understanding of how Windows input processing works, you can find other ways to subvert what the OS is doing to prevent apps from jumping in front of each other, too.
Hope this helps.
"I've found Qt lacking in providing that information, and have resulted to OS-specific mechanisms in most cases."
- Eldritch
I really would like to see a working example for this problem (I also asked it in this thread)
SetForegroundWindow seems like a mess on different Windows versions.
On Macintosh, this problem does not exist.
Bookmarks