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
608ddd47
Commit
608ddd47
authored
Jul 31, 2006
by
Huw Davies
Committed by
Alexandre Julliard
Aug 01, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Limit the size of the header bitmap to 49x49.
parent
d1be7624
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
propsheet.c
dlls/comctl32/propsheet.c
+5
-4
No files found.
dlls/comctl32/propsheet.c
View file @
608ddd47
...
...
@@ -3269,15 +3269,16 @@ static LRESULT PROPSHEET_Paint(HWND hwnd, HDC hdcParam)
}
else
{
int
margin
;
hbr
=
GetSysColorBrush
(
COLOR_WINDOW
);
FillRect
(
hdc
,
&
rzone
,
hbr
);
/* Draw the header bitmap. It's always centered like a
* common 49 x 49 bitmap. */
BitBlt
(
hdc
,
rzone
.
right
-
49
-
((
rzone
.
bottom
-
49
)
/
2
),
(
rzone
.
bottom
-
49
)
/
2
,
bm
.
bmWidth
,
bm
.
bmHeight
,
hdcSrc
,
0
,
0
,
SRCCOPY
);
margin
=
(
rzone
.
bottom
-
49
)
/
2
;
BitBlt
(
hdc
,
rzone
.
right
-
49
-
margin
,
margin
,
min
(
bm
.
bmWidth
,
49
),
min
(
bm
.
bmHeight
,
49
)
,
hdcSrc
,
0
,
0
,
SRCCOPY
);
/* NOTE: Native COMCTL32 draws a white stripe over the bitmap
* if its height is smaller than 49 pixels. Because the reason
...
...
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