This is an exmple of creating child windows.
2 child windows are created when you click Start
You can use the slider and text input in the Control window to change the text displayed in the Draw window.
This window listens to Control elements and updates Draw elements.
Child window positions are saved and restored.
When either window is closed manually, the other is also closed.
There is a simple example.