https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cbc3ee2287c1972ac8257d...
commit cbc3ee2287c1972ac8257da60388a5de9ea6c0e5 Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Sun Jan 14 20:48:34 2024 +0900 Commit: GitHub noreply@github.com CommitDate: Sun Jan 14 20:48:34 2024 +0900
[JOY] Add IDCANCEL action to MainPageProc (#6346)
Based on KRosUser's joycancel.patch. Enable Esc key and Close button. JIRA issue: CORE-19424 Insert a line of "case IDCANCEL:". --- dll/cpl/joy/joy.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dll/cpl/joy/joy.c b/dll/cpl/joy/joy.c index 057ec4c8534..dc9482ca34f 100644 --- a/dll/cpl/joy/joy.c +++ b/dll/cpl/joy/joy.c @@ -270,6 +270,7 @@ MainPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) break;
case IDOK: + case IDCANCEL: DestroyIcon(s_hIcon); DestroyIcon(s_hIconSm); EndDialog(hwndDlg,LOWORD(wParam));