Quote:
Antique wrote:
And is it possible to lock the main window, so it can't be moved until the new one has been closed?
You may be able to prove me wrong, but I doubt it: There is no reason whatsoever that I can think of that will justify forcing such a position-lock on your user. All windows should always be free to be placed like the user wants, not like the programmer thinks the user wants.
It can be quite reasonable to
deactivate your main window (so it won't process any input) while your new window is active, and it
may even sometimes be a good idea to make your new window a
stay-on-top window to make sure it is always visible as long as it is active. But there is no reason why the user shouldn't be able to
move either window to one or the other side as she wishes, in order to be able to see content in the main window e.g. for reference while inputting in the new window, or just because she wants to (even if you, the programmer, has not foreseen the reason why she wants to).
So basically: forget it. There are good reasons why it is not an option in AmigaOS.
Best regards,
Niels