Replaced LISTBOX_SetCaretIndex() with LISTBOX_MoveCaret() in

LB_SELECTSTRING handler so that the caret moves to the index and item
is highlighted.
oldstable
Krishna Murthy 2004-08-09 22:57:43 +00:00 committed by Alexandre Julliard
parent 5f2e8b7f46
commit 0c3af0ba58
1 changed files with 1 additions and 1 deletions

View File

@ -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;