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

Close Dialog with Alt + F4 #3252

Closed
Nova669 opened this issue May 16, 2018 · 3 comments · Fixed by #3517
Closed

Close Dialog with Alt + F4 #3252

Nova669 opened this issue May 16, 2018 · 3 comments · Fixed by #3517
Milestone

Comments

@Nova669
Copy link

Nova669 commented May 16, 2018

When we use MetroWindow.ShowMessageAsync(...) we want to close the dialog when the user presses Alt+F4.
In other programs (for example Word/Excel etc.) this behaviour is implemented and we want to get the same in our application.

Maybe it should be possible to pass a keyhandler to the ShowMessageAsync().

Expected outcome

Dialog closes with same result as ESC.

Environment

  • MahApps.Metro v1.6.4
  • Windows OS 10
  • Visual Studio 2017 (15.5.6)
  • .NET Framework 4.7
@zeluisping
Copy link
Contributor

Oh c'mon guys is this project really stalling? This was one year ago and it's not hard to do

@gep13
Copy link

gep13 commented Jun 1, 2019

@zeluisping said...
Oh c'mon guys is this project really stalling? This was one year ago and it's not hard to do

Are you familiar with how OpenSource, and contributing to Open Source Projects works?

@zeluisping
Copy link
Contributor

Yes I am, it's just sad, used to be one of the main projects I contributed to while working with Windows. I know my comment was a bit off, and I do apologize for it

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

Successfully merging a pull request may close this issue.

4 participants