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
dead0e1d
Commit
dead0e1d
authored
May 23, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
LISTVIEW_KeyDown: Invalidate the listview window only when the selected item changes.
parent
d30821a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
listview.c
dlls/comctl32/listview.c
+4
-2
No files found.
dlls/comctl32/listview.c
View file @
dead0e1d
...
...
@@ -5548,6 +5548,7 @@ static LRESULT LISTVIEW_KeyDown(HWND hwnd, INT nVirtualKey, LONG lKeyData)
HWND
hwndParent
=
GetParent
(
hwnd
);
NMLVKEYDOWN
nmKeyDown
;
NMHDR
nmh
;
INT
oldFocusedItem
=
infoPtr
->
nFocusedItem
;
/* send LVN_KEYDOWN notification */
ZeroMemory
(
&
nmKeyDown
,
sizeof
(
NMLVKEYDOWN
));
...
...
@@ -5736,8 +5737,9 @@ static LRESULT LISTVIEW_KeyDown(HWND hwnd, INT nVirtualKey, LONG lKeyData)
break
;
}
/* refresh client area */
InvalidateRect
(
hwnd
,
NULL
,
TRUE
);
/* refresh client area if necessary*/
if
(
oldFocusedItem
!=
infoPtr
->
nFocusedItem
)
InvalidateRect
(
hwnd
,
NULL
,
TRUE
);
return
0
;
}
...
...
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