Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
36ca172e
Commit
36ca172e
authored
Dec 22, 2022
by
Jinoh Kang
Committed by
Alexandre Julliard
Jan 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Clip siblings when drawing list and tree views.
parent
8242b651
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
listview.c
programs/regedit/listview.c
+2
-1
treeview.c
programs/regedit/treeview.c
+2
-1
No files found.
programs/regedit/listview.c
View file @
36ca172e
...
...
@@ -361,7 +361,8 @@ HWND CreateListView(HWND hwndParent, UINT id)
/* Get the dimensions of the parent window's client area, and create the list view control. */
GetClientRect
(
hwndParent
,
&
rcClient
);
hwndLV
=
CreateWindowExW
(
WS_EX_CLIENTEDGE
,
WC_LISTVIEWW
,
L"List View"
,
WS_VISIBLE
|
WS_CHILD
|
WS_TABSTOP
|
LVS_REPORT
|
LVS_EDITLABELS
,
WS_VISIBLE
|
WS_CHILD
|
WS_TABSTOP
|
WS_CLIPSIBLINGS
|
LVS_REPORT
|
LVS_EDITLABELS
,
0
,
0
,
rcClient
.
right
,
rcClient
.
bottom
,
hwndParent
,
ULongToHandle
(
id
),
hInst
,
NULL
);
if
(
!
hwndLV
)
return
NULL
;
...
...
programs/regedit/treeview.c
View file @
36ca172e
...
...
@@ -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
,
L"Tree View"
,
WS_VISIBLE
|
WS_CHILD
|
WS_TABSTOP
|
TVS_HASLINES
|
TVS_HASBUTTONS
|
WS_VISIBLE
|
WS_CHILD
|
WS_TABSTOP
|
WS_CLIPSIBLINGS
|
TVS_HASLINES
|
TVS_HASBUTTONS
|
TVS_LINESATROOT
|
TVS_EDITLABELS
|
TVS_SHOWSELALWAYS
,
0
,
0
,
rcClient
.
right
,
rcClient
.
bottom
,
hwndParent
,
ULongToHandle
(
id
),
hInst
,
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment