Commit in reactos/lib/user32/controls on MAIN | |||
listbox.c | +1 | -1 | 1.18 -> 1.19 |
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.
diff -u -r1.18 -r1.19 --- listbox.c 24 Jul 2004 00:40:01 -0000 1.18 +++ listbox.c 11 Aug 2004 10:37:06 -0000 1.19 @@ -2878,7 +2878,7 @@
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;