Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
382dc1de
Commit
382dc1de
authored
Aug 22, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/treeview: Fill full row for TVS_FULLROWSELECT style.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9efcbd11
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
treeview.c
dlls/comctl32/treeview.c
+8
-1
No files found.
dlls/comctl32/treeview.c
View file @
382dc1de
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
* missing notifications: TVN_GETINFOTIP, TVN_KEYDOWN,
* missing notifications: TVN_GETINFOTIP, TVN_KEYDOWN,
* TVN_SETDISPINFO
* TVN_SETDISPINFO
*
*
* missing styles: TVS_
FULLROWSELECT, TVS_
INFOTIP, TVS_RTLREADING,
* missing styles: TVS_INFOTIP, TVS_RTLREADING,
*
*
* missing item styles: TVIS_EXPANDPARTIAL, TVIS_EX_FLAT,
* missing item styles: TVIS_EXPANDPARTIAL, TVIS_EX_FLAT,
* TVIS_EX_DISABLED
* TVIS_EX_DISABLED
...
@@ -2577,6 +2577,13 @@ TREEVIEW_DrawItem(const TREEVIEW_INFO *infoPtr, HDC hdc, TREEVIEW_ITEM *item)
...
@@ -2577,6 +2577,13 @@ TREEVIEW_DrawItem(const TREEVIEW_INFO *infoPtr, HDC hdc, TREEVIEW_ITEM *item)
if
(
cditem
&
CDRF_NEWFONT
)
if
(
cditem
&
CDRF_NEWFONT
)
TREEVIEW_ComputeTextWidth
(
infoPtr
,
item
,
hdc
);
TREEVIEW_ComputeTextWidth
(
infoPtr
,
item
,
hdc
);
if
(
TREEVIEW_IsFullRowSelect
(
infoPtr
))
{
HBRUSH
brush
=
CreateSolidBrush
(
nmcdhdr
.
clrTextBk
);
FillRect
(
hdc
,
&
item
->
rect
,
brush
);
DeleteObject
(
brush
);
}
TREEVIEW_DrawItemLines
(
infoPtr
,
hdc
,
item
);
TREEVIEW_DrawItemLines
(
infoPtr
,
hdc
,
item
);
/* Set colors. Custom draw handler can change these so we do this after it. */
/* Set colors. Custom draw handler can change these so we do this after it. */
...
...
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