How to activate new window when another window is in full screen mode.
I have an video chat application. In this when video window is in full screen mode & i want to show new window. My window is shown on top but i am unable to click any of window's button i.e window is shown but it is not active.
i use the following code in new window
So how can i do so. Can anyone suggest me for this.
Not sure if this will help, but you can try setting Qt::WindowStaysOnTopHint on your mpIncomingCall widget. See "WindowFlags":http://qt-project.org/doc/qt-4.8/qt.html#WindowType-enum docs.
I have been used Qt::WindowStaysOnTopHint but its not working in my case.
Right. Then what about making your fullscreen window frameless and maximised, but not actually fullscreen? Then the dialog should be working as expected.
I am creating a frameless & maximised widow of Desktop screen size & displaying it from screen's starting coordinates. Even other window is on top but i am unable to pressed its button . since the other window is displaying video so i think its an active window as it keep refreshing the video. One more thing when i hover mouse over button its color is changed.
Ah, ok, I thought you have used QWidget::showFullScreen().
b1gsnak3 last edited by
Does your maximized window grab mouse & keyboard events by any chance?