Well, the easiest way to get to know the default minimization behavior is to play with something simple, for example. Calculator. Just run it and use Microsoft Spy++it to see the properties of the window representing some button in the calculator window.
In my case, I see:
- in normal condition: rectangle (1096, 222) - (1130, 249), 34x27
- in minimized state: rectangle (-31911, -31839) - (- 31877, -31812), 34x27
Thus, by default, minimizing changes the position of the window, moving it far away. If you were able to save the HWND, you can still send any window you need.
Things to remember:
- Applications
- can customize their behavior while minimizing, for example. completely destroy the window - switch to the tray.
- - - , IsWindowVisible, , ..