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
304f106a
Commit
304f106a
authored
Aug 02, 2004
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create toolbar with a not zero default size, it allows applications
which check toolbar size before adding buttons to it work.
parent
e5a5e727
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
commctrl.c
dlls/comctl32/commctrl.c
+2
-7
No files found.
dlls/comctl32/commctrl.c
View file @
304f106a
...
...
@@ -754,14 +754,9 @@ CreateToolbarEx (HWND hwnd, DWORD style, UINT wID, INT nBitmaps,
{
HWND
hwndTB
;
/* If not position is specified then put it at the top */
if
((
style
&
CCS_BOTTOM
)
==
0
)
{
style
|=
CCS_TOP
;
}
hwndTB
=
CreateWindowExA
(
0
,
TOOLBARCLASSNAMEA
,
""
,
style
|
WS_CHILD
,
0
,
0
,
0
,
0
,
hwnd
,
(
HMENU
)
wID
,
0
,
NULL
);
CreateWindowExA
(
0
,
TOOLBARCLASSNAMEA
,
NULL
,
style
|
WS_CHILD
,
0
,
0
,
100
,
3
0
,
hwnd
,
(
HMENU
)
wID
,
COMCTL32_hModule
,
NULL
);
if
(
hwndTB
)
{
TBADDBITMAP
tbab
;
...
...
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