Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ShowMessageBox MessageBoxButtons.YesNo disabling the Esc key and Window "X" close functionality #317

Open
canton7 opened this issue Dec 4, 2021 Discussed in #309 · 0 comments

Comments

@canton7
Copy link
Owner

canton7 commented Dec 4, 2021

Discussed in #309

Originally posted by duners88 November 24, 2021
It would be nice if the MessageBoxButtons.YesNo parameter option disabled the Window close "X" and the ESC key functionality that closes the window.
I use the YesNo enum value when I want to force the user to actively click something.
I use the YesNoCancel if the user does not need to make a decision and can "opt out" or close the message without making a decision.

Just a suggestion, I believe this is how the System.Windows.Forms.MessageBox class functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant