[bug 1858] WM_MOUSEACTIVATE processing

Dmitry Timoshkov dmitry at baikal.ru
Sat Sep 24 22:01:16 CDT 2005

"Ann & Jason Edmeades" <us at edmeades.me.uk> wrote:

> Under wine, our defwinproc was not returning MA_ACTIVATE for HTNOWHERE
> (0x0000), and a simple change confirmed that returning that did indeed fix
> the problem. That leaves the question as to whether the change is right.
> I've attached a patch plus simple modified the tests to ensure that
> MA_ACTIVATE is correct. Please let me know if there are any problems with
> this one - I don't like touching the defwinproc!

How about an one line test case which simply does

ret = DefWindowProc(hwnd, WM_MOUSEACTIVATE, 0, HTNOWHERE);
ok(ret == MA_ACTIVATE, "expected to return MA_ACTIVATE\n");

That would tell you what Windows returns in that case.


More information about the wine-devel mailing list