Re: A New Keyhole Type!

Scott Meyers <smeyers-Q9ZaqOuDrMJWk0Htik3J/[email protected]> Thu, 25 Aug 2005 10:28:38 -0700
Newsgroups gmane.comp.programming.keyholes
Message-ID <[email protected]>
At 09:30 PM 8/24/2005, you wrote:
>Must disagree about modal dialog boxes generically being a keyhole.
>Maybe some are, but if the logic of the code calls for a response from
>the user, the dialog can be considered part of a subroutine.

In my experience, they're always a keyhole.  For example, they keep you
from moving the underlying application window which, for some reason, I
often seem to want to do.  However, remember that not all keyholes are bad.
Many are, but not all, and perhaps that's what you really mean.  I hope we
can agree that a modal dialog limits the things you can do with the
application, even if the thing you do is independent of the dialog.  For
example, I don't see any reason why it should not be possible to print the
current document while the open file dialog is active.

Scott