[Bug 26355] Webbrowser WM_LBUTTONDOWN message don't work
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jun 20 07:03:05 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=26355
ocean04 at suomi24.fi changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|user32 |shlwapi
--- Comment #6 from ocean04 at suomi24.fi 2011-06-20 07:03:04 CDT ---
Builtin shlwapi calls setparent with GWL_STYLE c6010000 and native 46010000.
That is causing this bug. c6010000 is incorrect.
These changes to shlwapi seem to do it:
-LONG new_flags = (flags & mask) | (ret & ~mask);
+LONG new_flags = (flags) | (ret & ~mask);
- SHSetWindowBits(hWnd, GWL_STYLE, WS_CHILD, WS_CHILD);
-else
- SHSetWindowBits(hWnd, GWL_STYLE, WS_POPUP, WS_POPUP);
+ SHSetWindowBits(hWnd, GWL_STYLE, WS_POPUP, WS_CHILD);
+else
+ SHSetWindowBits(hWnd, GWL_STYLE, WS_CHILD, WS_POPUP);
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list