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
6df2c04f
Commit
6df2c04f
authored
May 24, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
May 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Set a default radio button.
parent
20c57466
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dialog.c
dlls/msi/dialog.c
+6
-0
No files found.
dlls/msi/dialog.c
View file @
6df2c04f
...
...
@@ -101,6 +101,7 @@ typedef struct
msi_dialog
*
dialog
;
msi_control
*
parent
;
DWORD
attributes
;
LPWSTR
propval
;
}
radio_button_group_descr
;
const
WCHAR
szMsiDialogClass
[]
=
{
...
...
@@ -1344,6 +1345,9 @@ static UINT msi_dialog_create_radiobutton( MSIRECORD *rec, LPVOID param )
return
ERROR_FUNCTION_FAILED
;
control
->
handler
=
msi_dialog_radiogroup_handler
;
if
(
!
lstrcmpW
(
control
->
name
,
group
->
propval
))
SendMessageW
(
control
->
hwnd
,
BM_SETCHECK
,
BST_CHECKED
,
0
);
prop
=
MSI_RecordGetString
(
rec
,
1
);
if
(
prop
)
control
->
property
=
strdupW
(
prop
);
...
...
@@ -1395,9 +1399,11 @@ static UINT msi_dialog_radiogroup_control( msi_dialog *dialog, MSIRECORD *rec )
group
.
dialog
=
dialog
;
group
.
parent
=
control
;
group
.
attributes
=
MSI_RecordGetInteger
(
rec
,
8
);
group
.
propval
=
msi_dup_property
(
dialog
->
package
,
control
->
property
);
r
=
MSI_IterateRecords
(
view
,
0
,
msi_dialog_create_radiobutton
,
&
group
);
msiobj_release
(
&
view
->
hdr
);
msi_free
(
group
.
propval
);
return
r
;
}
...
...
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