Tab Ctrl fix

Dimitrie O. Paun dimi at cs.toronto.edu
Sat Jan 26 15:56:11 CST 2002


[extracted from office2.diff]

ChangeLog
  Tab Control: forward the notification message to the parent.

--
Dimi.
-------------- next part --------------
Index: dlls/comctl32/tab.c
===================================================================
RCS file: /var/cvs/wine/dlls/comctl32/tab.c,v
retrieving revision 1.64
diff -u -r1.64 tab.c
--- dlls/comctl32/tab.c	24 Dec 2001 20:24:58 -0000	1.64
+++ dlls/comctl32/tab.c	26 Jan 2002 20:39:32 -0000
@@ -2976,6 +2976,9 @@
     case WM_NCHITTEST:
       return TAB_NCHitTest(hwnd, lParam);
 
+    case WM_NOTIFY:
+      return SendMessageW(GetParent(hwnd), WM_NOTIFY, wParam, lParam);
+
     default:
       if (uMsg >= WM_USER)
 	WARN("unknown msg %04x wp=%08x lp=%08lx\n",


More information about the wine-patches mailing list