Author: jimtabor
Date: Wed Feb 26 22:56:27 2014
New Revision: 62339
URL:
http://svn.reactos.org/svn/reactos?rev=62339&view=rev
Log:
[User32|ListBox]
- Patch by Huw Davies: If the listbox loses focus while holding capture, release it by
essentially simulating a button up event.
Modified:
trunk/reactos/win32ss/user/user32/controls/listbox.c
Modified: trunk/reactos/win32ss/user/user32/controls/listbox.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/contro…
==============================================================================
--- trunk/reactos/win32ss/user/user32/controls/listbox.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/controls/listbox.c [iso-8859-1] Wed Feb 26 22:56:27
2014
@@ -3052,6 +3052,7 @@
SEND_NOTIFICATION( descr, LBN_SETFOCUS );
return 0;
case WM_KILLFOCUS:
+ LISTBOX_HandleLButtonUp( descr ); /* Release capture if we have it */
descr->in_focus = FALSE;
descr->wheel_remain = 0;
if ((descr->focus_item != -1) && descr->caret_on)