Skip to content

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

@canton7

Description

@canton7

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions