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
4f403edd
Commit
4f403edd
authored
Jun 30, 2005
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Jun 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Send CDDS_ITEMPOSTERASE | CDDS_PREPAINT notify.
parent
d8302668
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
header.c
dlls/comctl32/header.c
+15
-0
No files found.
dlls/comctl32/header.c
View file @
4f403edd
...
...
@@ -193,6 +193,21 @@ HEADER_DrawItem (HWND hwnd, HDC hdc, INT iItem, BOOL bHotTrack)
if
(
phdi
->
fmt
&
HDF_OWNERDRAW
)
{
DRAWITEMSTRUCT
dis
;
NMCUSTOMDRAW
nmcd
;
nmcd
.
hdr
.
hwndFrom
=
hwnd
;
nmcd
.
hdr
.
idFrom
=
GetWindowLongPtrW
(
hwnd
,
GWLP_ID
);
nmcd
.
hdr
.
code
=
NM_CUSTOMDRAW
;
nmcd
.
dwDrawStage
=
CDDS_PREPAINT
|
CDDS_ITEM
|
CDDS_ITEMPOSTERASE
;
nmcd
.
hdc
=
hdc
;
nmcd
.
dwItemSpec
=
iItem
;
nmcd
.
rc
=
r
;
nmcd
.
uItemState
=
phdi
->
bDown
?
CDIS_SELECTED
:
0
;
nmcd
.
lItemlParam
=
phdi
->
lParam
;
SendMessageW
(
infoPtr
->
hwndNotify
,
WM_NOTIFY
,
(
WPARAM
)
nmcd
.
hdr
.
idFrom
,
(
LPARAM
)
&
nmcd
);
dis
.
CtlType
=
ODT_HEADER
;
dis
.
CtlID
=
GetWindowLongPtrW
(
hwnd
,
GWLP_ID
);
dis
.
itemID
=
iItem
;
...
...
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