You could try calling mainWindow->showMinimized();
If that doesnt work, you can try this -
Set the opacity of the main window to 0. The window would be there, not visible. But how you choose to make it opaque again might be tricky![]()
You could try calling mainWindow->showMinimized();
If that doesnt work, you can try this -
Set the opacity of the main window to 0. The window would be there, not visible. But how you choose to make it opaque again might be tricky![]()
If i use showMinimized() and then click the taskbar icon for the window, it will still show options such as maximize which will maximize both the child and parent windows.
The only way I'm aware of overriding the maximize window operation is to use windows specific or x11 specific code. Does anyone know of a better way to override the maximize operation so that if the user attempts to maximize from the taskbar they won't be able to?
What's the point of having a taskbar entry if you can't do anything with it? Maybe you should just show the taskbar entry for the child you show instead of the main window?
Bookmarks