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
4c6e039a
Commit
4c6e039a
authored
Oct 17, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorerframe: Correctly initialize common controls.
parent
d67b99ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
Makefile.in
dlls/explorerframe/Makefile.in
+1
-1
nstc.c
dlls/explorerframe/nstc.c
+5
-0
No files found.
dlls/explorerframe/Makefile.in
View file @
4c6e039a
MODULE
=
explorerframe.dll
IMPORTS
=
uuid ole32 shell32 user32
IMPORTS
=
uuid ole32
comctl32
shell32 user32
C_SRCS
=
\
explorerframe_main.c
\
...
...
dlls/explorerframe/nstc.c
View file @
4c6e039a
...
...
@@ -869,6 +869,7 @@ static HRESULT WINAPI NSTC2_fnInitialize(INameSpaceTreeControl2* iface,
NSTC2Impl
*
This
=
impl_from_INameSpaceTreeControl2
(
iface
);
WNDCLASSW
wc
;
DWORD
window_style
,
window_ex_style
;
INITCOMMONCONTROLSEX
icex
;
RECT
rc
;
static
const
WCHAR
NSTC2_CLASS_NAME
[]
=
{
'N'
,
'a'
,
'm'
,
'e'
,
's'
,
'p'
,
'a'
,
'c'
,
'e'
,
'T'
,
'r'
,
'e'
,
'e'
,
...
...
@@ -882,6 +883,10 @@ static HRESULT WINAPI NSTC2_fnInitialize(INameSpaceTreeControl2* iface,
This
->
style
=
nstcsFlags
;
icex
.
dwSize
=
sizeof
(
icex
);
icex
.
dwICC
=
ICC_TREEVIEW_CLASSES
;
InitCommonControlsEx
(
&
icex
);
if
(
!
GetClassInfoW
(
explorerframe_hinstance
,
NSTC2_CLASS_NAME
,
&
wc
))
{
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
...
...
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