Not sure if I fully understand what you're trying to achieve, but disabling my_window prior to creating new_window will make new_window a modal child form. When I say modal, I mean control will not pass back to the parent form (my_window) until new_window is closed.
my_window%=CreateWindow("my", 10, 10, 100, 100, 0, 15)
DisableGadget my_window ; Only need this if you want a modal child
new_window%=CreateWindow("new", 210, 10, 100, 100, my_window, 15)
Note: my_window is passed into the "group" (think parent) property on the second CreateWindow statement.
Hope this helps...
my_window%=CreateWindow("my", 10, 10, 100, 100, 0, 15)
DisableGadget my_window ; Only need this if you want a modal child
new_window%=CreateWindow("new", 210, 10, 100, 100, my_window, 15)
Note: my_window is passed into the "group" (think parent) property on the second CreateWindow statement.
Hope this helps...