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

Exit Hotkey #2

Open
ZombieRoxtar opened this issue Apr 1, 2015 · 3 comments
Open

Exit Hotkey #2

ZombieRoxtar opened this issue Apr 1, 2015 · 3 comments
Assignees
Labels

Comments

@ZombieRoxtar
Copy link
Owner

You have to press the exit hotkey twice to close the program. Also, this input is never passed to the foreground window! I guess I don't really need a hotkey to close the program...
This issue is summarized in the comment on line 22.

@aroxby
Copy link
Collaborator

aroxby commented Apr 1, 2015

Having the press it twice is caused by your use of GetMessage which is a blocking call. I can't see why it doesn't get passed on.

@ZombieRoxtar
Copy link
Owner Author

PeekMessage fixed double press as you thought, but apps are still not hearing the key messages for it.

@aroxby
Copy link
Collaborator

aroxby commented Apr 1, 2015

I still don't know. That one is perplexing. Hmm...

aroxby referenced this issue Apr 1, 2015
It works like this, but some code review would be good.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants