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
8fb60376
Commit
8fb60376
authored
Oct 04, 2005
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Oct 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct Page Up/Down handling in report mode.
parent
7955fb01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
listview.c
dlls/comctl32/listview.c
+15
-2
No files found.
dlls/comctl32/listview.c
View file @
8fb60376
...
...
@@ -8015,7 +8015,13 @@ static LRESULT LISTVIEW_KeyDown(LISTVIEW_INFO *infoPtr, INT nVirtualKey, LONG lK
case
VK_PRIOR
:
if
(
uView
==
LVS_REPORT
)
nItem
=
infoPtr
->
nFocusedItem
-
LISTVIEW_GetCountPerColumn
(
infoPtr
);
{
INT
topidx
=
LISTVIEW_GetTopIndex
(
infoPtr
);
if
(
infoPtr
->
nFocusedItem
==
topidx
)
nItem
=
topidx
-
LISTVIEW_GetCountPerColumn
(
infoPtr
)
+
1
;
else
nItem
=
topidx
;
}
else
nItem
=
infoPtr
->
nFocusedItem
-
LISTVIEW_GetCountPerColumn
(
infoPtr
)
*
LISTVIEW_GetCountPerRow
(
infoPtr
);
...
...
@@ -8024,7 +8030,14 @@ static LRESULT LISTVIEW_KeyDown(LISTVIEW_INFO *infoPtr, INT nVirtualKey, LONG lK
case
VK_NEXT
:
if
(
uView
==
LVS_REPORT
)
nItem
=
infoPtr
->
nFocusedItem
+
LISTVIEW_GetCountPerColumn
(
infoPtr
);
{
INT
topidx
=
LISTVIEW_GetTopIndex
(
infoPtr
);
INT
cnt
=
LISTVIEW_GetCountPerColumn
(
infoPtr
);
if
(
infoPtr
->
nFocusedItem
==
topidx
+
cnt
-
1
)
nItem
=
infoPtr
->
nFocusedItem
+
cnt
-
1
;
else
nItem
=
topidx
+
cnt
-
1
;
}
else
nItem
=
infoPtr
->
nFocusedItem
+
LISTVIEW_GetCountPerColumn
(
infoPtr
)
*
LISTVIEW_GetCountPerRow
(
infoPtr
);
...
...
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