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
e630e499
Commit
e630e499
authored
Feb 09, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: A test for auto-set TBSTYLE_TRANSPARENT style.
parent
2ce15be5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
toolbar.c
dlls/comctl32/tests/toolbar.c
+13
-0
No files found.
dlls/comctl32/tests/toolbar.c
View file @
e630e499
...
...
@@ -1825,6 +1825,19 @@ static void test_create(void)
DestroyWindow
(
hwnd
);
UnhookWindowsHook
(
WH_CBT
,
cbt_hook_proc
);
/* TBSTYLE_TRANSPARENT */
hwnd
=
CreateWindowExA
(
0
,
TOOLBARCLASSNAME
,
NULL
,
WS_CHILD
|
WS_VISIBLE
|
WS_CLIPSIBLINGS
|
TBSTYLE_FLAT
|
TBSTYLE_TOOLTIPS
|
TBSTYLE_GROUP
,
0
,
0
,
0
,
0
,
hMainWnd
,
(
HMENU
)
5
,
GetModuleHandle
(
NULL
),
NULL
);
style
=
GetWindowLongA
(
hwnd
,
GWL_STYLE
);
ok
((
style
&
TBSTYLE_TRANSPARENT
)
==
TBSTYLE_TRANSPARENT
,
"got 0x%08x
\n
"
,
style
);
style
=
SendMessageA
(
hwnd
,
TB_GETSTYLE
,
0
,
0
);
ok
((
style
&
TBSTYLE_TRANSPARENT
)
==
TBSTYLE_TRANSPARENT
,
"got 0x%08x
\n
"
,
style
);
DestroyWindow
(
hwnd
);
}
START_TEST
(
toolbar
)
...
...
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