xtofl
12th October 2012, 09:46
Hi,
I have two apps, one of which has to start _behind_ the other. I tried doing this using the `showMinimized()` call for the behind one, but this has an undesired side-effect: when switching to it later on, the application is 'animated' to maximum size.
The current code:
if( iAmMaster() )
mainWindow->show();
else
mainWindow->showMinimized();
In both apps, I known the window handle of the other one.
Is there a better way?
Thanks!
xtofl
I have two apps, one of which has to start _behind_ the other. I tried doing this using the `showMinimized()` call for the behind one, but this has an undesired side-effect: when switching to it later on, the application is 'animated' to maximum size.
The current code:
if( iAmMaster() )
mainWindow->show();
else
mainWindow->showMinimized();
In both apps, I known the window handle of the other one.
Is there a better way?
Thanks!
xtofl