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
700dd456
Commit
700dd456
authored
May 13, 2006
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
May 15, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: listview: Store the iSubItem in header's lParam in LVM_INSERTCOLUMN.
parent
74c3b366
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
listview.c
dlls/comctl32/listview.c
+10
-0
No files found.
dlls/comctl32/listview.c
View file @
700dd456
...
...
@@ -6545,6 +6545,16 @@ static INT LISTVIEW_InsertColumnT(LISTVIEW_INFO *infoPtr, INT nColumn,
ZeroMemory
(
&
hdi
,
sizeof
(
HDITEMW
));
column_fill_hditem
(
infoPtr
,
&
hdi
,
nColumn
,
lpColumn
,
isW
);
/*
* when the iSubItem is available Windows copies it to the header lParam. It seems
* to happen only in LVM_INSERTCOLUMN - not in LVM_SETCOLUMN
*/
if
(
lpColumn
->
mask
&
LVCF_SUBITEM
)
{
hdi
.
mask
|=
HDI_LPARAM
;
hdi
.
lParam
=
lpColumn
->
iSubItem
;
}
/* insert item in header control */
nNewColumn
=
SendMessageW
(
infoPtr
->
hwndHeader
,
...
...
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