[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-patches
Subject: [PATCH] forward tab notification to the parent
From: Gerard Patel <gerard.patel () nerim ! net>
Date: 2001-12-22 13:27:31
[Download RAW message or body]
The following patch :
ChangeSet ID: 1008622332606314052827656
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard@wine2. 01/12/17 15:52:12
Modified files:
dlls/comctl32 : tab.c
Pass on all unhandeled messages to the owner.
leads to bad regressions with some apps.
The attached patch has the same positive effect on hh.exe
but without the regressions.
ChangeLog:
* dlls/comctl32/tab.c
forward tab notifications to the parent.
["tab.dif" (text/plain)]
Index: dlls/comctl32/tab.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/tab.c,v
retrieving revision 1.63
diff -u -r1.63 tab.c
--- dlls/comctl32/tab.c 2001/12/17 20:52:11 1.63
+++ dlls/comctl32/tab.c 2001/12/22 08:32:02
@@ -2937,7 +2937,10 @@
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 @@
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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic