<AWT Dev> Who wants to fix 15 years old issue?
malenkov at gmail.com
Fri Nov 11 14:38:10 UTC 2016
> The approach looks fine.
... except forgotten printf :)
>> Note, that WM_MOUSEHWHEEL > WM_MOUSELAST,
>> so any checks inside AWT ignores such events.
> I think that the changes in the Toolkit should be moved to PreProcessMouseMsg(),
Then you should replace the following expression
(msg.message >= WM_MOUSEFIRST && msg.message <= WM_MOUSELAST)
with the following one (maybe in both places)
(msg.message >= WM_MOUSEFIRST && msg.message <= WM_MOUSELAST) ||
(msg.message == WM_MOUSEHSCROLL)
> and the fix should not change behavior of "Interop"(see line 1601),
> or probably we can do everything in the awt_component.
Could you please create such a fix?
Sergey A. Malenkov
More information about the awt-dev