Skip to content

window close on win32#183

Open
HengHuH wants to merge 2 commits into
ejoy:masterfrom
HengHuH:close
Open

window close on win32#183
HengHuH wants to merge 2 commits into
ejoy:masterfrom
HengHuH:close

Conversation

@HengHuH

@HengHuH HengHuH commented Jun 24, 2024

Copy link
Copy Markdown
Contributor

shutdown program from lua.

@cloudwu

cloudwu commented Jun 24, 2024

Copy link
Copy Markdown
Contributor

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

@cloudwu

cloudwu commented Jun 25, 2024

Copy link
Copy Markdown
Contributor

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