25 Sep
2005
25 Sep
'05
4:01 a.m.
"Ann & Jason Edmeades" <us(a)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. -- Dmitry.