> 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?


-- 
Best regards,
Sergey A. Malenkov

Reply via email to