regedit: make key names editable also with native comctl

Daniel Jelinski djelinski1 at gmail.com
Sat Jun 2 00:15:40 CDT 2012


-------------- next part --------------
From 680c8b03af17c14c8c208ba403d1642245474405 Mon Sep 17 00:00:00 2001
From: Daniel Jelinski <djelinski1 at gmail.com>
Date: Sat, 2 Jun 2012 07:13:28 +0200
Subject: regedit: make key names editable also with native comctl

---
 programs/regedit/treeview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/regedit/treeview.c b/programs/regedit/treeview.c
index 2257fdd..7c5e76d 100644
--- a/programs/regedit/treeview.c
+++ b/programs/regedit/treeview.c
@@ -681,7 +681,7 @@ 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,
+                            WS_VISIBLE | WS_CHILD | WS_TABSTOP | TVS_HASLINES | TVS_HASBUTTONS | TVS_LINESATROOT | TVS_EDITLABELS,
                             0, 0, rcClient.right, rcClient.bottom,
                             hwndParent, ULongToHandle(id), hInst, NULL);
     SendMessageW(hwndTV, TVM_SETUNICODEFORMAT, TRUE, 0);
-- 
1.7.5.4


More information about the wine-patches mailing list