IsdialogMessage16 patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This commit: http://cvs.winehq.com/patch.py?id=1025828582516861871424229
changed IsdialogMessage16 sufficiently to break mouse message handling
in WordStar for Windows V2.

This patch is sufficient to make it happy again.

Changelog:
	dlls/user	: msg16.c
	IsdialogMessage16 must not process messages that are not
	intended for the dialog box.

Rein.
-- 
Rein Klazes
rklazes@xxxxxxxxx
--- wine/./dlls/user/msg16.c	2003-11-26 08:02:53.000000000 +0100
+++ mywine/./dlls/user/msg16.c	2003-12-27 16:37:50.000000000 +0100
@@ -358,6 +358,9 @@
         /* these messages don't need an unmap */
         return IsDialogMessageW( WIN_Handle32(hwndDlg), &msg );
     }
+
+    if ((hwndDlg != msg16->hwnd) && !IsChild16( hwndDlg, msg16->hwnd ))
+        return FALSE;
     TranslateMessage16( msg16 );
     DispatchMessage16( msg16 );
     return TRUE;

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux