I did not take care about closing event, always above, visibility. This is just the mechanism for positioning and resizing.
How to use:
- Start server process
- Start client process
- Make the windows visible in your screen
- Move and resize the window on the background