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
ac24a0a6
Commit
ac24a0a6
authored
Nov 12, 2003
by
Huw Davies
Committed by
Alexandre Julliard
Nov 12, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A multicolumn listview should get a customdraw notification for the
item as well as one for subitem 0.
parent
2aba972a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
listview.c
dlls/comctl32/listview.c
+6
-0
No files found.
dlls/comctl32/listview.c
View file @
ac24a0a6
...
...
@@ -3599,6 +3599,12 @@ static BOOL LISTVIEW_DrawItem(LISTVIEW_INFO *infoPtr, HDC hdc, INT nItem, INT nS
cdsubitemmode
=
notify_customdraw
(
infoPtr
,
CDDS_PREPAINT
,
&
nmlvcd
);
if
(
nSubItem
==
0
)
infoPtr
->
cditemmode
=
cdsubitemmode
;
if
(
cdsubitemmode
&
CDRF_SKIPDEFAULT
)
goto
postpaint
;
/* we have to send a CDDS_SUBITEM customdraw explicitly for subitem 0 */
if
(
nSubItem
==
0
&&
cdsubitemmode
==
CDRF_NOTIFYITEMDRAW
)
{
cdsubitemmode
=
notify_customdraw
(
infoPtr
,
CDDS_SUBITEM
|
CDDS_ITEMPREPAINT
,
&
nmlvcd
);
if
(
cdsubitemmode
&
CDRF_SKIPDEFAULT
)
goto
postpaint
;
}
if
(
nSubItem
==
0
||
(
cdmode
&
CDRF_NOTIFYITEMDRAW
))
prepaint_setup
(
infoPtr
,
hdc
,
&
nmlvcd
);
...
...
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