Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6832c6e1
Commit
6832c6e1
authored
Feb 11, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorerframe: Handle NSTCS_SINGLECLICKEXPAND style.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8c4b47c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
nstc.c
dlls/explorerframe/nstc.c
+3
-1
No files found.
dlls/explorerframe/nstc.c
View file @
6832c6e1
...
...
@@ -68,7 +68,7 @@ typedef struct {
}
NSTC2Impl
;
static
const
DWORD
unsupported_styles
=
NSTCS_
SINGLECLICKEXPAND
|
NSTCS_
NOREPLACEOPEN
|
NSTCS_NOORDERSTREAM
|
NSTCS_FAVORITESMODE
|
NSTCS_NOREPLACEOPEN
|
NSTCS_NOORDERSTREAM
|
NSTCS_FAVORITESMODE
|
NSTCS_EMPTYTEXT
|
NSTCS_ALLOWJUNCTIONS
|
NSTCS_SHOWTABSBUTTON
|
NSTCS_SHOWDELETEBUTTON
|
NSTCS_SHOWREFRESHBUTTON
|
NSTCS_SPRINGEXPAND
|
NSTCS_RICHTOOLTIP
|
NSTCS_NOINDENTCHECKS
;
static
const
DWORD
unsupported_styles2
=
...
...
@@ -213,6 +213,7 @@ static DWORD treeview_style_from_nstcs(NSTC2Impl *This, NSTCSTYLE nstcs,
if
(
nstcs_mask
&
NSTCS_DISABLEDRAGDROP
)
tv_mask
|=
TVS_DISABLEDRAGDROP
;
if
(
nstcs_mask
&
NSTCS_NOEDITLABELS
)
tv_mask
|=
TVS_EDITLABELS
;
if
(
nstcs_mask
&
NSTCS_CHECKBOXES
)
tv_mask
|=
TVS_CHECKBOXES
;
if
(
nstcs_mask
&
NSTCS_SINGLECLICKEXPAND
)
tv_mask
|=
TVS_SINGLEEXPAND
;
*
new_style
=
0
;
...
...
@@ -227,6 +228,7 @@ static DWORD treeview_style_from_nstcs(NSTC2Impl *This, NSTCSTYLE nstcs,
if
(
nstcs
&
NSTCS_DISABLEDRAGDROP
)
*
new_style
|=
TVS_DISABLEDRAGDROP
;
if
(
!
(
nstcs
&
NSTCS_NOEDITLABELS
))
*
new_style
|=
TVS_EDITLABELS
;
if
(
nstcs
&
NSTCS_CHECKBOXES
)
*
new_style
|=
TVS_CHECKBOXES
;
if
(
nstcs
&
NSTCS_SINGLECLICKEXPAND
)
*
new_style
|=
TVS_SINGLEEXPAND
;
*
new_style
=
(
old_style
&
~
tv_mask
)
|
(
*
new_style
&
tv_mask
);
...
...
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