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
c1b7a825
Commit
c1b7a825
authored
Feb 03, 2007
by
Peter Oberndorfer
Committed by
Alexandre Julliard
Feb 07, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Honor attributes for combobox.
parent
a5277fb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
dialog.c
dlls/msi/dialog.c
+11
-2
No files found.
dlls/msi/dialog.c
View file @
c1b7a825
...
...
@@ -1124,9 +1124,18 @@ static UINT msi_dialog_icon_control( msi_dialog *dialog, MSIRECORD *rec )
static
UINT
msi_dialog_combo_control
(
msi_dialog
*
dialog
,
MSIRECORD
*
rec
)
{
static
const
WCHAR
szCombo
[]
=
{
'C'
,
'O'
,
'M'
,
'B'
,
'O'
,
'B'
,
'O'
,
'X'
,
0
};
DWORD
attributes
,
style
;
style
=
CBS_AUTOHSCROLL
|
WS_TABSTOP
|
WS_GROUP
|
WS_CHILD
;
attributes
=
MSI_RecordGetInteger
(
rec
,
8
);
if
(
~
attributes
&
msidbControlAttributesSorted
)
style
|=
CBS_SORT
;
if
(
attributes
&
msidbControlAttributesComboList
)
style
|=
CBS_DROPDOWNLIST
;
else
style
|=
CBS_DROPDOWN
;
msi_dialog_add_control
(
dialog
,
rec
,
szCombo
,
SS_BITMAP
|
SS_LEFT
|
SS_CENTERIMAGE
);
msi_dialog_add_control
(
dialog
,
rec
,
szCombo
,
style
);
return
ERROR_SUCCESS
;
}
...
...
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