regedit: Allow handling of return values from listview notification messages.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Hugh McMaster 2017-05-29 08:20:13 +00:00 committed by Alexandre Julliard
parent fe38c9abad
commit c04f66a59f

View File

@ -472,8 +472,7 @@ LRESULT CALLBACK ChildWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
return 0; /* goto def; */
}
} else if ((int)wParam == LIST_WINDOW && g_pChildWnd != NULL) {
if (!SendMessageW(g_pChildWnd->hListWnd, WM_NOTIFY_REFLECT, wParam, lParam))
goto def;
return SendMessageW(g_pChildWnd->hListWnd, WM_NOTIFY_REFLECT, wParam, lParam);
}
break;