Commit 7073e27f authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

regedit: Sort treeview children on refresh.

parent e23ca416
...@@ -482,6 +482,7 @@ BOOL RefreshTreeView(HWND hwndTV) ...@@ -482,6 +482,7 @@ BOOL RefreshTreeView(HWND hwndTV)
SendMessageW(hwndTV, WM_SETREDRAW, TRUE, 0); SendMessageW(hwndTV, WM_SETREDRAW, TRUE, 0);
InvalidateRect(hwndTV, NULL, FALSE); InvalidateRect(hwndTV, NULL, FALSE);
SendMessageW(hwndTV, TVM_SORTCHILDREN, TRUE, (LPARAM)hSelectedItem);
SetCursor(hcursorOld); SetCursor(hcursorOld);
/* We reselect the currently selected node, this will prompt a refresh of the listview. */ /* We reselect the currently selected node, this will prompt a refresh of the listview. */
......
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