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
da610897
Commit
da610897
authored
Oct 17, 2000
by
Chris Morgan
Committed by
Alexandre Julliard
Oct 17, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement LVM_SETITEMPOSITION32.
parent
4bfc2a8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
listview.c
dlls/comctl32/listview.c
+10
-10
No files found.
dlls/comctl32/listview.c
View file @
da610897
...
...
@@ -212,7 +212,7 @@ static BOOL LISTVIEW_RemoveSubItem(HDPA, INT);
static
VOID
LISTVIEW_SetGroupSelection
(
HWND
,
INT
);
static
BOOL
LISTVIEW_SetItem
(
HWND
,
LPLVITEMA
);
static
BOOL
LISTVIEW_SetItemFocus
(
HWND
,
INT
);
static
BOOL
LISTVIEW_SetItemPosition
(
HWND
,
INT
,
INT
,
INT
);
static
BOOL
LISTVIEW_SetItemPosition
(
HWND
,
INT
,
LONG
,
LONG
);
static
VOID
LISTVIEW_UpdateScroll
(
HWND
);
static
VOID
LISTVIEW_SetSelection
(
HWND
,
INT
);
static
VOID
LISTVIEW_UpdateSize
(
HWND
);
...
...
@@ -7183,15 +7183,15 @@ static BOOL LISTVIEW_SetItemCount(HWND hwnd, INT nItems, DWORD dwFlags)
* PARAMETER(S):
* [I] HWND : window handle
* [I] INT : item index
* [I]
INT
: x coordinate
* [I]
INT
: y coordinate
* [I]
LONG
: x coordinate
* [I]
LONG
: y coordinate
*
* RETURN:
* SUCCESS : TRUE
* FAILURE : FALSE
*/
static
BOOL
LISTVIEW_SetItemPosition
(
HWND
hwnd
,
INT
nItem
,
INT
nPosX
,
INT
nPosY
)
static
BOOL
LISTVIEW_SetItemPosition
(
HWND
hwnd
,
INT
nItem
,
LONG
nPosX
,
LONG
nPosY
)
{
LISTVIEW_INFO
*
infoPtr
=
(
LISTVIEW_INFO
*
)
GetWindowLongA
(
hwnd
,
0
);
UINT
lStyle
=
GetWindowLongA
(
hwnd
,
GWL_STYLE
);
...
...
@@ -7200,7 +7200,7 @@ static BOOL LISTVIEW_SetItemPosition(HWND hwnd, INT nItem,
HDPA
hdpaSubItems
;
BOOL
bResult
=
FALSE
;
TRACE
(
"(hwnd=%x,nItem=%d,X=%
d,Y=%
d)
\n
"
,
hwnd
,
nItem
,
nPosX
,
nPosY
);
TRACE
(
"(hwnd=%x,nItem=%d,X=%
ld,Y=%l
d)
\n
"
,
hwnd
,
nItem
,
nPosX
,
nPosY
);
if
(
lStyle
&
LVS_OWNERDATA
)
return
FALSE
;
...
...
@@ -7226,8 +7226,6 @@ static BOOL LISTVIEW_SetItemPosition(HWND hwnd, INT nItem,
return
bResult
;
}
/* LISTVIEW_SetItemPosition32 */
/***
* DESCRIPTION:
* Sets the state of one or many items.
...
...
@@ -9191,9 +9189,11 @@ static LRESULT WINAPI LISTVIEW_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
return
LISTVIEW_SetItemPosition
(
hwnd
,
(
INT
)
wParam
,
(
INT
)
LOWORD
(
lParam
),
(
INT
)
HIWORD
(
lParam
));
/* case LVM_SETITEMPOSITION32: */
case
LVM_SETITEMPOSITION32
:
return
LISTVIEW_SetItemPosition
(
hwnd
,
(
INT
)
wParam
,
((
POINT
*
)
lParam
)
->
x
,
((
POINT
*
)
lParam
)
->
y
);
case
LVM_SETITEMSTATE
:
case
LVM_SETITEMSTATE
:
return
LISTVIEW_SetItemState
(
hwnd
,
(
INT
)
wParam
,
(
LPLVITEMA
)
lParam
);
case
LVM_SETITEMTEXTA
:
...
...
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