[PATCH 3/3] regedit: Sort treeview children on refresh
Hugh McMaster
hugh.mcmaster at outlook.com
Thu Feb 9 05:12:14 CST 2017
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
programs/regedit/treeview.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/programs/regedit/treeview.c b/programs/regedit/treeview.c
index 9d9fa6d..d07399d 100644
--- a/programs/regedit/treeview.c
+++ b/programs/regedit/treeview.c
@@ -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. */
--
2.7.4
More information about the wine-patches
mailing list