mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
Krishna Murthy <Krishna.Murthy@guptaworldwide.com>
Replaced LISTBOX_SetCaretIndex() with LISTBOX_MoveCaret() in LB_SELECTSTRING handler so that the caret moves to the index and item is highlighted. svn path=/trunk/; revision=10498
This commit is contained in:
parent
6f267c1f3c
commit
5d4aa40ac6
1 changed files with 1 additions and 1 deletions
|
@ -2878,7 +2878,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;
|
||||
|
|
Loading…
Reference in a new issue