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
c9674e69
Commit
c9674e69
authored
Aug 24, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Aug 25, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Add a stub implementation of the DirectoryCombo dialog control.
parent
17e17271
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
dialog.c
dlls/msi/dialog.c
+18
-0
No files found.
dlls/msi/dialog.c
View file @
c9674e69
...
...
@@ -137,6 +137,7 @@ static const WCHAR szSelectionTree[] = {
'S'
,
'e'
,
'l'
,
'e'
,
'c'
,
't'
,
'i'
,
'o'
,
'n'
,
'T'
,
'r'
,
'e'
,
'e'
,
0
};
static
const
WCHAR
szGroupBox
[]
=
{
'G'
,
'r'
,
'o'
,
'u'
,
'p'
,
'B'
,
'o'
,
'x'
,
0
};
static
const
WCHAR
szListBox
[]
=
{
'L'
,
'i'
,
's'
,
't'
,
'B'
,
'o'
,
'x'
,
0
};
static
const
WCHAR
szDirectoryCombo
[]
=
{
'D'
,
'i'
,
'r'
,
'e'
,
'c'
,
't'
,
'o'
,
'r'
,
'y'
,
'C'
,
'o'
,
'm'
,
'b'
,
'o'
,
0
};
static
UINT
msi_dialog_checkbox_handler
(
msi_dialog
*
,
msi_control
*
,
WPARAM
);
static
void
msi_dialog_checkbox_sync_state
(
msi_dialog
*
,
msi_control
*
);
...
...
@@ -1938,6 +1939,22 @@ static UINT msi_dialog_list_box( msi_dialog *dialog, MSIRECORD *rec )
return
ERROR_SUCCESS
;
}
/******************** Directory Combo ***************************************/
static
UINT
msi_dialog_directory_combo
(
msi_dialog
*
dialog
,
MSIRECORD
*
rec
)
{
msi_control
*
control
;
DWORD
style
;
style
=
CBS_DROPDOWNLIST
|
CBS_OWNERDRAWFIXED
|
CBS_HASSTRINGS
|
WS_CHILD
|
WS_GROUP
|
WS_TABSTOP
|
WS_VSCROLL
;
control
=
msi_dialog_add_control
(
dialog
,
rec
,
WC_COMBOBOXW
,
style
);
if
(
!
control
)
return
ERROR_FUNCTION_FAILED
;
return
ERROR_SUCCESS
;
}
static
const
struct
control_handler
msi_dialog_handler
[]
=
{
{
szText
,
msi_dialog_text_control
},
...
...
@@ -1956,6 +1973,7 @@ static const struct control_handler msi_dialog_handler[] =
{
szSelectionTree
,
msi_dialog_selection_tree
},
{
szGroupBox
,
msi_dialog_group_box
},
{
szListBox
,
msi_dialog_list_box
},
{
szDirectoryCombo
,
msi_dialog_directory_combo
},
};
#define NUM_CONTROL_TYPES (sizeof msi_dialog_handler/sizeof msi_dialog_handler[0])
...
...
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