regedit: Make key names editable also with native comctl32.
This commit is contained in:
parent
cbb9002aa6
commit
14d4702c1b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue