Some dialogs have no Cancel button and we can't close them using Escape. Example - remove buttonbar button question. It is much simpler to answer No using Escape key than using mouse or Tab/Right and Enter.
Is is possible to add this simple thing - if user presses Esc in dialog w/o Cancel button, TC closes dialog and with return value corresponding to present cancelling button in this dialog - No, Ignore, Abort (which is present)?
Answer No on Esc in dialogs w/o Cancel button
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This is a limitation of the MessageBox function. That's why I sometimes have 3 buttons Yes, No, Cancel, although only Yes and No make sense.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com