Re: comctl32: Move TrackMouse handling to MouseMove

2005-05-16 Thread Alexandre Julliard
James Hawkins <[EMAIL PROTECTED]> 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

Re: comctl32: Move TrackMouse handling to MouseMove

2005-05-14 Thread James Hawkins
On 5/14/05, Dimi Paun <[EMAIL PROTECTED]> wrote: > On Sat, 2005-05-14 at 11:12 -0500, James Hawkins wrote: > > + LVHITTESTINFO lvHitTestInfo; > > + INT nItem; > > + > > + if (infoPtr->bLButtonDown) { > > + lvHitTestInfo.pt = infoPtr->ptClickPos; > > + nItem = LISTVIEW_HitTest(infoPtr, &l

Re: comctl32: Move TrackMouse handling to MouseMove

2005-05-14 Thread Dimi Paun
On Sat, 2005-05-14 at 11:12 -0500, James Hawkins wrote: > + LVHITTESTINFO lvHitTestInfo; > + INT nItem; > + > + if (infoPtr->bLButtonDown) { > + lvHitTestInfo.pt = infoPtr->ptClickPos; > + nItem = LISTVIEW_HitTest(infoPtr, &lvHitTestInfo, TRUE, TRUE); > + > + if (LISTVIEW_TrackMouse(