On 3/27/2013 00:10, Daniel Jeliński wrote:
2013/3/26 Nikolay Sivov <nsi...@codeweavers.com>:
Is there any reliable way to test send mouse messages? Cause it looks like
if I send WM_LBUTTONDOWN directly it doesn't trigger tab selection code on
windows, but works in wine.
Do you want to figure out the correct sequence of messages or write
tests for wine's test suite?
I need a test that actually works.
  Either way, it's a good idea to start
with winetricks comctl32. After that WINEDEBUG=+message gives you all
information you may need.
That's a really questionable thing to do cause you'll be looking at native module internals,
tracing what it does. I think it should be avoided.
Also some message handlers use mouse coordinates from lParam, while
others seem to use either GetCursorPos or GetMessagePos, so setting
cursor position may be necessary.
I didn't think about actually positioning cursor, that could help, thanks.

Regards,
Daniel



Reply via email to