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
c37a639e
Commit
c37a639e
authored
Apr 24, 2000
by
Martin Fuchs
Committed by
Alexandre Julliard
Apr 24, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed toolbar bitmap size handling.
parent
87d224ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
commctrl.c
dlls/comctl32/commctrl.c
+3
-3
toolbar.c
dlls/comctl32/toolbar.c
+1
-1
No files found.
dlls/comctl32/commctrl.c
View file @
c37a639e
...
...
@@ -647,14 +647,14 @@ CreateToolbarEx (HWND hwnd, DWORD style, UINT wID, INT nBitmaps,
/* set bitmap and button size */
/*If CreateToolbarEx receive 0, windows set default values*/
if
(
dyBitmap
<
0
)
dyBitmap
=
1
6
;
dyBitmap
=
1
5
;
if
(
dxBitmap
<
0
)
dxBitmap
=
16
;
SendMessageA
(
hwndTB
,
TB_SETBITMAPSIZE
,
0
,
MAKELPARAM
((
WORD
)
d
yBitmap
,
(
WORD
)
dx
Bitmap
));
MAKELPARAM
((
WORD
)
d
xBitmap
,
(
WORD
)
dy
Bitmap
));
SendMessageA
(
hwndTB
,
TB_SETBUTTONSIZE
,
0
,
MAKELPARAM
((
WORD
)
d
yButton
,
(
WORD
)
dx
Button
));
MAKELPARAM
((
WORD
)
d
xButton
,
(
WORD
)
dy
Button
));
/* add bitmaps */
...
...
dlls/comctl32/toolbar.c
View file @
c37a639e
...
...
@@ -884,7 +884,7 @@ TOOLBAR_CustomizeDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
if
(
infoPtr
)
lpmis
->
itemHeight
=
infoPtr
->
nBitmapHeight
+
8
;
else
lpmis
->
itemHeight
=
1
6
+
8
;
/* default height */
lpmis
->
itemHeight
=
1
5
+
8
;
/* default height */
return
TRUE
;
}
...
...
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