Dnia 09-04-2012 o 04:13:44 Vitaliy Margolen wine-devel@kievinfo.com napisał(a):
On 04/08/2012 01:44 PM, Daniel Jelinski wrote:
Hardware messages are an alternative, but I couldn't find any relevant examples, so I followed the path of least resistance.
These tests you wrote won't work. Emulating mouse up/down events with anything other then hardware messages will not exercise the entire chain. For example search for "mouse_event" or SendInput.
Thank you for your feedback. I agree, the tests are not equivalent to real mouse input. However they do expose the differences between WinAPI and Wine. I wrote them just to make sure (and prove) that my fix to comctl implementation does the right thing, and that I do not introduce new bugs in place of the old one.
If I remove the changes to tests and post changes to the library only, will they get accepted?
Daniel