Commit 0c3af0ba authored by Krishna Murthy's avatar Krishna Murthy Committed by Alexandre Julliard

Replaced LISTBOX_SetCaretIndex() with LISTBOX_MoveCaret() in

LB_SELECTSTRING handler so that the caret moves to the index and item is highlighted.
parent 5f2e8b7f
......@@ -2795,7 +2795,7 @@ static LRESULT WINAPI ListBoxWndProc_common( HWND hwnd, UINT msg,
HeapFree(GetProcessHeap(), 0, textW);
if (index != LB_ERR)
{
LISTBOX_SetCaretIndex( hwnd, descr, index, TRUE );
LISTBOX_MoveCaret( hwnd, descr, index, TRUE );
LISTBOX_SetSelection( hwnd, descr, index, TRUE, FALSE );
}
return index;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment