comctl32: Move TrackMouse handling to MouseMove

Alexandre Julliard julliard at winehq.org
Mon May 16 12:42:34 CDT 2005


James Hawkins <truiken at gmail.com> writes:

> This patch also fixes the WM_LBUTTONUP bug, and the new behavior with
> listview is even better.  The logic behind this is that we only want
> to track the mouse by calling TrackMouse when the mouse moves.

What you really want is to only start tracking if it moves by more
than a certain amount, which is what LISTVIEW_TrackMouse already tries
to do in a very inefficient way. So you should probably move all the
logic from LISTVIEW_TrackMouse to the MouseMove handler.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list