Corrected the determination of capturing inside EDIT_WM_MouseMove

function.
This commit is contained in:
Kouji Sasaki 2005-05-30 11:09:33 +00:00 committed by Alexandre Julliard
parent 247246ede7
commit 108390a3b4
1 changed files with 4 additions and 1 deletions

View File

@ -4518,7 +4518,10 @@ static LRESULT EDIT_WM_MouseMove(EDITSTATE *es, INT x, INT y)
BOOL after_wrap;
INT prex, prey;
if (GetCapture() != es->hwndSelf)
/* If the mouse has been captured by process other than the edit control itself,
* the windows edit controls will not select the strings with mouse move.
*/
if (!es->bCaptureState || GetCapture() != es->hwndSelf)
return 0;
/*