regedit: Always show treeview selection.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bd19402b6d
commit
7dea6fef61
|
@ -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. */
|
/* Get the dimensions of the parent window's client area, and create the tree view control. */
|
||||||
GetClientRect(hwndParent, &rcClient);
|
GetClientRect(hwndParent, &rcClient);
|
||||||
hwndTV = CreateWindowExW(WS_EX_CLIENTEDGE, WC_TREEVIEWW, TreeView,
|
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,
|
0, 0, rcClient.right, rcClient.bottom,
|
||||||
hwndParent, ULongToHandle(id), hInst, NULL);
|
hwndParent, ULongToHandle(id), hInst, NULL);
|
||||||
SendMessageW(hwndTV, TVM_SETUNICODEFORMAT, TRUE, 0);
|
SendMessageW(hwndTV, TVM_SETUNICODEFORMAT, TRUE, 0);
|
||||||
|
|
Loading…
Reference in New Issue