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
3f89a713
Commit
3f89a713
authored
Oct 11, 2006
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Oct 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: header: Invalidate the control after a WM_SETREDRAW with wParam == TRUE.
parent
056d004b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
header.c
dlls/comctl32/header.c
+15
-0
No files found.
dlls/comctl32/header.c
View file @
3f89a713
...
...
@@ -1945,6 +1945,18 @@ HEADER_SetFont (HWND hwnd, WPARAM wParam, LPARAM lParam)
return
0
;
}
static
LRESULT
HEADER_SetRedraw
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
{
/* ignoring the InvalidateRect calls is handled by user32. But some apps expect
* that we invalidate the header and this has to be done manually */
LRESULT
ret
;
ret
=
DefWindowProcW
(
hwnd
,
WM_SETREDRAW
,
wParam
,
lParam
);
if
(
wParam
)
InvalidateRect
(
hwnd
,
NULL
,
TRUE
);
return
ret
;
}
/* Update the theme handle after a theme change */
static
LRESULT
HEADER_ThemeChanged
(
HWND
hwnd
)
{
...
...
@@ -2081,6 +2093,9 @@ HEADER_WindowProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
case
WM_SETFONT
:
return
HEADER_SetFont
(
hwnd
,
wParam
,
lParam
);
case
WM_SETREDRAW
:
return
HEADER_SetRedraw
(
hwnd
,
wParam
,
lParam
);
default:
if
((
msg
>=
WM_USER
)
&&
(
msg
<
WM_APP
))
ERR
(
"unknown msg %04x wp=%04x lp=%08lx
\n
"
,
...
...
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