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
b0327f2b
Commit
b0327f2b
authored
Jul 02, 2001
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Jul 02, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remember response from LVN_GETDISPINFO if user sets LVIF_DI_SETITEM.
parent
f177a154
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
listview.c
dlls/comctl32/listview.c
+12
-0
No files found.
dlls/comctl32/listview.c
View file @
b0327f2b
...
...
@@ -4981,6 +4981,7 @@ static LRESULT LISTVIEW_GetItemA(HWND hwnd, LPLVITEMA lpLVItem, BOOL internal)
LISTVIEW_ITEM
*
lpItem
;
INT
*
piImage
;
LPSTR
*
ppszText
;
LPARAM
*
plParam
;
HDPA
hdpaSubItems
;
LONG
lStyle
=
GetWindowLongA
(
hwnd
,
GWL_STYLE
);
/* In the following:
...
...
@@ -5037,6 +5038,7 @@ static LRESULT LISTVIEW_GetItemA(HWND hwnd, LPLVITEMA lpLVItem, BOOL internal)
{
piImage
=&
lpItem
->
iImage
;
ppszText
=&
lpItem
->
pszText
;
plParam
=&
lpItem
->
lParam
;
if
((
infoPtr
->
uCallbackMask
!=
0
)
&&
(
lpLVItem
->
mask
&
LVIF_STATE
))
{
dispInfo
.
item
.
mask
|=
LVIF_STATE
;
...
...
@@ -5050,11 +5052,13 @@ static LRESULT LISTVIEW_GetItemA(HWND hwnd, LPLVITEMA lpLVItem, BOOL internal)
{
piImage
=&
lpSubItem
->
iImage
;
ppszText
=&
lpSubItem
->
pszText
;
plParam
=
NULL
;
}
else
{
piImage
=
NULL
;
ppszText
=
NULL
;
plParam
=
NULL
;
}
}
...
...
@@ -5087,6 +5091,10 @@ static LRESULT LISTVIEW_GetItemA(HWND hwnd, LPLVITEMA lpLVItem, BOOL internal)
if
(
dispInfo
.
item
.
mask
&
LVIF_IMAGE
)
{
lpLVItem
->
iImage
=
dispInfo
.
item
.
iImage
;
if
((
dispInfo
.
item
.
mask
&
LVIF_DI_SETITEM
)
&&
piImage
)
{
*
piImage
=
dispInfo
.
item
.
iImage
;
}
}
else
if
(
lpLVItem
->
mask
&
LVIF_IMAGE
)
{
...
...
@@ -5096,6 +5104,10 @@ static LRESULT LISTVIEW_GetItemA(HWND hwnd, LPLVITEMA lpLVItem, BOOL internal)
if
(
dispInfo
.
item
.
mask
&
LVIF_PARAM
)
{
lpLVItem
->
lParam
=
dispInfo
.
item
.
lParam
;
if
((
dispInfo
.
item
.
mask
&
LVIF_DI_SETITEM
)
&&
plParam
)
{
*
plParam
=
dispInfo
.
item
.
lParam
;
}
}
else
if
(
lpLVItem
->
mask
&
LVIF_PARAM
)
{
...
...
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