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
92c2d8af
Commit
92c2d8af
authored
Oct 20, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/syslink: Add a WM_ERASEBKGND handler.
parent
90029d34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
syslink.c
dlls/comctl32/syslink.c
+19
-0
No files found.
dlls/comctl32/syslink.c
View file @
92c2d8af
...
...
@@ -906,6 +906,22 @@ static LRESULT SYSLINK_Paint (const SYSLINK_INFO *infoPtr, HDC hdcParam)
return
0
;
}
/***********************************************************************
* SYSLINK_EraseBkgnd
* Handles the WM_ERASEBKGND message.
*/
static
LRESULT
SYSLINK_EraseBkgnd
(
const
SYSLINK_INFO
*
infoPtr
,
HDC
hdc
)
{
HBRUSH
hbr
;
RECT
r
;
GetClientRect
(
infoPtr
->
Self
,
&
r
);
hbr
=
CreateSolidBrush
(
comctl32_color
.
clrBtnFace
);
FillRect
(
hdc
,
&
r
,
hbr
);
DeleteObject
(
hbr
);
return
1
;
}
/***********************************************************************
* SYSLINK_SetFont
...
...
@@ -1551,6 +1567,9 @@ static LRESULT WINAPI SysLinkWindowProc(HWND hwnd, UINT message,
case
WM_PAINT
:
return
SYSLINK_Paint
(
infoPtr
,
(
HDC
)
wParam
);
case
WM_ERASEBKGND
:
return
SYSLINK_EraseBkgnd
(
infoPtr
,
(
HDC
)
wParam
);
case
WM_SETCURSOR
:
{
LHITTESTINFO
ht
;
...
...
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