mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 12:55:43 +00:00
[User32|ListBox]
- Patch by Huw Davies: If the listbox loses focus while holding capture, release it by essentially simulating a button up event. svn path=/trunk/; revision=62339
This commit is contained in:
parent
bcc1390a36
commit
f08e1261ed
1 changed files with 1 additions and 0 deletions
|
@ -3052,6 +3052,7 @@ LRESULT WINAPI ListBoxWndProc_common( HWND hwnd, UINT msg,
|
||||||
SEND_NOTIFICATION( descr, LBN_SETFOCUS );
|
SEND_NOTIFICATION( descr, LBN_SETFOCUS );
|
||||||
return 0;
|
return 0;
|
||||||
case WM_KILLFOCUS:
|
case WM_KILLFOCUS:
|
||||||
|
LISTBOX_HandleLButtonUp( descr ); /* Release capture if we have it */
|
||||||
descr->in_focus = FALSE;
|
descr->in_focus = FALSE;
|
||||||
descr->wheel_remain = 0;
|
descr->wheel_remain = 0;
|
||||||
if ((descr->focus_item != -1) && descr->caret_on)
|
if ((descr->focus_item != -1) && descr->caret_on)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue