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
188365e2
Commit
188365e2
authored
Jan 03, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Implement the Reset control event.
parent
8193d97b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
dialog.c
dlls/msi/dialog.c
+6
-0
events.c
dlls/msi/events.c
+8
-0
msipriv.h
dlls/msi/msipriv.h
+1
-0
No files found.
dlls/msi/dialog.c
View file @
188365e2
...
...
@@ -1512,6 +1512,12 @@ static UINT msi_dialog_evaluate_control_conditions( msi_dialog *dialog )
return
r
;
}
UINT
msi_dialog_reset
(
msi_dialog
*
dialog
)
{
/* FIXME: should restore the original values of any properties we changed */
return
msi_dialog_evaluate_control_conditions
(
dialog
);
}
/* figure out the height of 10 point MS Sans Serif */
static
INT
msi_dialog_get_sans_serif_height
(
HWND
hwnd
)
{
...
...
dlls/msi/events.c
View file @
188365e2
...
...
@@ -243,6 +243,13 @@ static UINT ControlEvent_SetTargetPath(MSIPACKAGE* package, LPCWSTR argument,
return
r
;
}
static
UINT
ControlEvent_Reset
(
MSIPACKAGE
*
package
,
LPCWSTR
argument
,
msi_dialog
*
dialog
)
{
msi_dialog_reset
(
dialog
);
return
ERROR_SUCCESS
;
}
/*
* Subscribed events
*/
...
...
@@ -371,6 +378,7 @@ struct _events Events[] = {
{
"Remove"
,
ControlEvent_Remove
},
{
"AddSource"
,
ControlEvent_AddSource
},
{
"SetTargetPath"
,
ControlEvent_SetTargetPath
},
{
"Reset"
,
ControlEvent_Reset
},
{
NULL
,
NULL
},
};
...
...
dlls/msi/msipriv.h
View file @
188365e2
...
...
@@ -414,6 +414,7 @@ extern void msi_dialog_destroy( msi_dialog* );
extern
BOOL
msi_dialog_register_class
(
void
);
extern
void
msi_dialog_unregister_class
(
void
);
extern
void
msi_dialog_handle_event
(
msi_dialog
*
,
LPCWSTR
,
LPCWSTR
,
MSIRECORD
*
);
extern
UINT
msi_dialog_reset
(
msi_dialog
*
dialog
);
/* preview */
extern
MSIPREVIEW
*
MSI_EnableUIPreview
(
MSIDATABASE
*
);
...
...
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