[PATCH 1/2] programs/regedit: Always show treeview selection
Nikolay Sivov
nsivov at codeweavers.com
Sat Jan 28 07:37:51 CST 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
programs/regedit/treeview.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/programs/regedit/treeview.c b/programs/regedit/treeview.c
index 07e9b417ae..9d9fa6dbe5 100644
--- a/programs/regedit/treeview.c
+++ b/programs/regedit/treeview.c
@@ -696,7 +696,8 @@ HWND CreateTreeView(HWND hwndParent, LPWSTR pHostName, UINT id)
/* Get the dimensions of the parent window's client area, and create the tree view control. */
GetClientRect(hwndParent, &rcClient);
hwndTV = CreateWindowExW(WS_EX_CLIENTEDGE, WC_TREEVIEWW, TreeView,
- WS_VISIBLE | WS_CHILD | WS_TABSTOP | TVS_HASLINES | TVS_HASBUTTONS | TVS_LINESATROOT | TVS_EDITLABELS,
+ WS_VISIBLE | WS_CHILD | WS_TABSTOP | TVS_HASLINES | TVS_HASBUTTONS |
+ TVS_LINESATROOT | TVS_EDITLABELS | TVS_SHOWSELALWAYS,
0, 0, rcClient.right, rcClient.bottom,
hwndParent, ULongToHandle(id), hInst, NULL);
SendMessageW(hwndTV, TVM_SETUNICODEFORMAT, TRUE, 0);
--
2.11.0
More information about the wine-patches
mailing list