Quote Originally Posted by aamer4yu View Post
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?