Keeping Focus Within a Small Window
BlitzMax Forums/BlitzMax Beginners Area/Keeping Focus Within a Small Window
| ||
You know how some of the system requesters and filerequesters and all that act? I want to emulate that. I want to open a mini-window over the top of the main window and then not let the user do anything else with the main window until they click a button on the mini window. I can stick ActivateWindow() on an timer, but that's not really what I'm after. |
| ||
If your mini-window is active then only check on the events that belong to that mini-window, and don't check the main events.. |
| ||
Yep, but the user can still interfere with gadgets like text boxes and can still click buttons, even if it doesn't register an immediate event. I was wondering if there was a way to totally lock down the large main window, as happens with a file requester. |
| ||
DisableGadget thosetextboxes_'n_stuff |
| ||
I never actually spotted the DisableGadget command so thanks for that. In case anyone else is wondering, you can just disable the main window and everything parented to it will be disabled too, so it's very easy to do. |