[PATCH] comctl32/listview: Send NM_RELEASEDCAPTURE after the window focus has changed

Hugh McMaster hugh.mcmaster at outlook.com
Fri Sep 8 09:27:18 CDT 2017


> On 8 Sep 2017, at 11:27 pm, Hugh McMaster wrote:
> Yes, I agree. But if you test edit a label and then exit edit mode (e.g. by clicking 
> in blank space on the control), the results are quite different. It seems like 
> NM_RELEASEDCAPTURE is sent twice -- (1) on left down to activate editing and 
> (2) after editing is finished and focus restored.

More accurately, NM_RELEASEDCAPTURE is sent on left button down, but for case (2), the focus messages are sent first. 

That doesn't explain why the messages are sent in the opposite order to Windows though.




More information about the wine-devel mailing list