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
6320d0ad
Commit
6320d0ad
authored
Aug 28, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Aug 29, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Update the DirectoryCombo control in response to the DirectoryListUp event.
parent
2dbaccbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
dialog.c
dlls/msi/dialog.c
+22
-0
No files found.
dlls/msi/dialog.c
View file @
6320d0ad
...
...
@@ -1979,6 +1979,27 @@ static UINT msi_dialog_list_box( msi_dialog *dialog, MSIRECORD *rec )
/******************** Directory Combo ***************************************/
static
void
msi_dialog_update_directory_combo
(
msi_dialog
*
dialog
)
{
msi_control
*
control
;
LPWSTR
prop
,
path
;
BOOL
indirect
;
control
=
msi_dialog_find_control
(
dialog
,
szDirectoryCombo
);
indirect
=
control
->
attributes
&
msidbControlAttributesIndirect
;
prop
=
msi_dialog_dup_property
(
dialog
,
control
->
property
,
indirect
);
path
=
msi_dup_property
(
dialog
->
package
,
prop
);
PathStripPathW
(
path
);
PathRemoveBackslashW
(
path
);
SendMessageW
(
control
->
hwnd
,
CB_INSERTSTRING
,
0
,
(
LPARAM
)
path
);
SendMessageW
(
control
->
hwnd
,
CB_SETCURSEL
,
0
,
0
);
msi_free
(
path
);
msi_free
(
prop
);
}
static
UINT
msi_dialog_directory_combo
(
msi_dialog
*
dialog
,
MSIRECORD
*
rec
)
{
msi_control
*
control
;
...
...
@@ -2035,6 +2056,7 @@ UINT msi_dialog_directorylist_up( msi_dialog *dialog )
MSI_SetPropertyW
(
dialog
->
package
,
prop
,
path
);
msi_dialog_update_directory_combo
(
dialog
);
msi_dialog_update_pathedit
(
dialog
);
msi_free
(
path
);
...
...
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