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
14620938
Commit
14620938
authored
Apr 29, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Don't draw wrapped focus rectangle.
parent
4ba9e616
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
listview.c
dlls/comctl32/listview.c
+9
-2
No files found.
dlls/comctl32/listview.c
View file @
14620938
...
...
@@ -1412,6 +1412,13 @@ static inline BOOL LISTVIEW_GetItemW(const LISTVIEW_INFO *infoPtr, LPLVITEMW lpL
return
LISTVIEW_GetItemT
(
infoPtr
,
lpLVItem
,
TRUE
);
}
/* used to handle collapse main item column case */
static
inline
BOOL
LISTVIEW_DrawFocusRect
(
const
LISTVIEW_INFO
*
infoPtr
,
HDC
hdc
)
{
return
(
infoPtr
->
rcFocus
.
left
<
infoPtr
->
rcFocus
.
right
)
?
DrawFocusRect
(
hdc
,
&
infoPtr
->
rcFocus
)
:
FALSE
;
}
/* Listview invalidation functions: use _only_ these functions to invalidate */
static
inline
BOOL
is_redrawing
(
const
LISTVIEW_INFO
*
infoPtr
)
...
...
@@ -1862,7 +1869,7 @@ static void LISTVIEW_ShowFocusRect(const LISTVIEW_INFO *infoPtr, BOOL fShow)
}
else
{
DrawFocusRect
(
hdc
,
&
infoPtr
->
rcFocus
);
LISTVIEW_DrawFocusRect
(
infoPtr
,
hdc
);
}
done:
ReleaseDC
(
infoPtr
->
hwndSelf
,
hdc
);
...
...
@@ -4368,7 +4375,7 @@ static void LISTVIEW_Refresh(LISTVIEW_INFO *infoPtr, HDC hdc, const RECT *prcEra
/* if we have a focus rect, draw it */
if
(
infoPtr
->
bFocus
)
DrawFocusRect
(
hdc
,
&
infoPtr
->
rcFocus
);
LISTVIEW_DrawFocusRect
(
infoPtr
,
hdc
);
}
iterator_destroy
(
&
i
);
...
...
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