regedit: Sort treeview children on refresh.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e23ca416bd
commit
7073e27fbd
|
@ -482,6 +482,7 @@ BOOL RefreshTreeView(HWND hwndTV)
|
|||
|
||||
SendMessageW(hwndTV, WM_SETREDRAW, TRUE, 0);
|
||||
InvalidateRect(hwndTV, NULL, FALSE);
|
||||
SendMessageW(hwndTV, TVM_SORTCHILDREN, TRUE, (LPARAM)hSelectedItem);
|
||||
SetCursor(hcursorOld);
|
||||
|
||||
/* We reselect the currently selected node, this will prompt a refresh of the listview. */
|
||||
|
|
Loading…
Reference in New Issue