Forward tab notifications to the parent.

This commit is contained in:
Gerard Patel 2001-12-24 20:24:58 +00:00 committed by Alexandre Julliard
parent d83dfd0173
commit b3a3a8f3bc
1 changed files with 5 additions and 2 deletions

View File

@ -2937,7 +2937,10 @@ TAB_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case WM_LBUTTONUP:
return TAB_LButtonUp (hwnd, wParam, lParam);
case WM_NOTIFY:
return SendMessageA(GetParent(hwnd), WM_NOTIFY, wParam, lParam);
case WM_RBUTTONDOWN:
return TAB_RButtonDown (hwnd, wParam, lParam);
@ -2977,7 +2980,7 @@ TAB_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
if (uMsg >= WM_USER)
WARN("unknown msg %04x wp=%08x lp=%08lx\n",
uMsg, wParam, lParam);
return SendMessageA(GetParent(hwnd), uMsg, wParam, lParam);
return DefWindowProcA(hwnd, uMsg, wParam, lParam);
}
return 0;