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
8f15b6e6
Commit
8f15b6e6
authored
Oct 23, 2002
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Oct 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not callback to the parent for lParam when in LVS_OWNERDATA.
Docs update.
parent
eca61827
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
listview.c
dlls/comctl32/listview.c
+13
-5
No files found.
dlls/comctl32/listview.c
View file @
8f15b6e6
...
...
@@ -59,7 +59,12 @@
* -- we should keep an ordered array of coordinates in iconic mode
* this would allow to frame items (iterator_frameditems),
* and find nearest item (LVFI_NEARESTXY) a lot more efficiently
*
*
* Flags
* -- LVIF_COLUMNS
* -- LVIF_GROUPID
* -- LVIF_NORECOMPUTE
*
* States
* -- LVIS_ACTIVATING (not currently supported by comctl32.dll version 6.0)
* -- LVIS_CUT
...
...
@@ -4759,12 +4764,12 @@ static BOOL LISTVIEW_GetItemT(LISTVIEW_INFO *infoPtr, LPLVITEMW lpLVItem, BOOL i
{
dispInfo
.
item
.
state
=
0
;
/*
if we need to callback, do it now
*/
if
((
lpLVItem
->
mask
&
~
LVIF_STATE
)
||
infoPtr
->
uCallbackMask
)
/*
apprently, we should not callback for lParam in LVS_OWNERDATA
*/
if
((
lpLVItem
->
mask
&
~
(
LVIF_STATE
|
LVIF_PARAM
)
)
||
infoPtr
->
uCallbackMask
)
{
/* NOTE: copy only fields which we _know_ are initialized, some apps
* depend on the uninitialized fields being 0 */
dispInfo
.
item
.
mask
=
lpLVItem
->
mask
;
dispInfo
.
item
.
mask
=
lpLVItem
->
mask
&
~
LVIF_PARAM
;
dispInfo
.
item
.
iItem
=
lpLVItem
->
iItem
;
dispInfo
.
item
.
iSubItem
=
lpLVItem
->
iSubItem
;
if
(
lpLVItem
->
mask
&
LVIF_TEXT
)
...
...
@@ -4779,7 +4784,10 @@ static BOOL LISTVIEW_GetItemT(LISTVIEW_INFO *infoPtr, LPLVITEMW lpLVItem, BOOL i
*
lpLVItem
=
dispInfo
.
item
;
TRACE
(
" getdispinfo(1):lpLVItem=%s
\n
"
,
debuglvitem_t
(
lpLVItem
,
isW
));
}
/* make sure lParam is zeroed out */
if
(
lpLVItem
->
mask
&
LVIF_PARAM
)
lpLVItem
->
lParam
=
0
;
/* we store only a little state, so if we're not asked, we're done */
if
(
!
(
lpLVItem
->
mask
&
LVIF_STATE
)
||
lpLVItem
->
iSubItem
)
return
TRUE
;
...
...
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