Autofocus a subwindow?

BlitzMax Forums/BlitzMax GUI Programming/Autofocus a subwindow?

Hi everyone!

In my app I have a main window and several child windows.
I'd like setting the "focus" on the subwindow when it is open, i.e.:

- The user can't switch back to the main app window until he closes the subwindow
- The user can't use the gui menu + all gadgets on the main window while the subwindow is open.

Take the "about window" of Firefox for instance.
Every modern app has this functionality theses days.

Grisu