IsdialogMessage16 patch
Rein Klazes
rklazes at xs4all.nl
Sat Dec 27 09:57:54 CST 2003
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 at xs4all.nl
-------------- next part --------------
--- 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;
More information about the wine-patches
mailing list