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
7ee3a4ef
Commit
7ee3a4ef
authored
Oct 03, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Oct 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Select the first item in the SelectionTree control.
parent
0fe1b367
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
dialog.c
dlls/msi/dialog.c
+7
-1
No files found.
dlls/msi/dialog.c
View file @
7ee3a4ef
...
...
@@ -1809,7 +1809,7 @@ msi_seltree_add_child_features( MSIPACKAGE *package, HWND hwnd,
{
MSIFEATURE
*
feature
;
TVINSERTSTRUCTW
tvis
;
HTREEITEM
hitem
;
HTREEITEM
hitem
,
hfirst
=
NULL
;
LIST_FOR_EACH_ENTRY
(
feature
,
&
package
->
features
,
MSIFEATURE
,
entry
)
{
...
...
@@ -1833,6 +1833,9 @@ msi_seltree_add_child_features( MSIPACKAGE *package, HWND hwnd,
if
(
!
hitem
)
continue
;
if
(
!
hfirst
)
hfirst
=
hitem
;
msi_seltree_sync_item_state
(
hwnd
,
feature
,
hitem
);
msi_seltree_add_child_features
(
package
,
hwnd
,
feature
->
Feature
,
hitem
);
...
...
@@ -1841,6 +1844,9 @@ msi_seltree_add_child_features( MSIPACKAGE *package, HWND hwnd,
if
(
feature
->
Display
%
2
!=
0
)
SendMessageW
(
hwnd
,
TVM_EXPAND
,
TVE_EXPAND
,
(
LPARAM
)
hitem
);
}
/* select the first item */
SendMessageW
(
hwnd
,
TVM_SELECTITEM
,
TVGN_CARET
|
TVGN_DROPHILITE
,
(
LPARAM
)
hfirst
);
}
static
void
msi_seltree_create_imagelist
(
HWND
hwnd
)
...
...
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