Window and child window

BlitzPlus Forums/BlitzPlus Programming/Window and child window

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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...