mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00: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:
parent
92db51883a
commit
cbc3ee2287
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue