mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 16:31:07 +08:00
[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:".
This commit is contained in:
committed by
GitHub
parent
92db51883a
commit
cbc3ee2287
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user