James Hawkins truiken@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.