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

window close on win32 #183

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

window close on win32 #183

wants to merge 2 commits into from

Conversation

HengHuH
Copy link
Contributor

@HengHuH HengHuH commented Jun 24, 2024

shutdown program from lua.

@cloudwu
Copy link
Contributor

cloudwu commented Jun 24, 2024

Don’t use TerminateProcess , post close message to window instead

@cloudwu
Copy link
Contributor

cloudwu commented Jun 25, 2024

SendMessage(G.hWnd, WM_SYSCOMMAND, SC_CLOSE, 1) after UnregisterClassW , This is a bit weird . cc @actboy168

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

Successfully merging this pull request may close these issues.

2 participants