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
3988d9c5
Commit
3988d9c5
authored
Feb 16, 2005
by
Mike McCormack
Committed by
Alexandre Julliard
Feb 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a border to the edit control, add some more controls.
parent
9bef4830
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
dialog.c
dlls/msi/dialog.c
+22
-2
No files found.
dlls/msi/dialog.c
View file @
3988d9c5
...
...
@@ -319,7 +319,7 @@ static UINT msi_dialog_scrolltext_control( msi_dialog *dialog, MSIRECORD *rec )
TRACE
(
"%p %p
\n
"
,
dialog
,
rec
);
msi_dialog_add_control
(
dialog
,
rec
,
szEdit
,
msi_dialog_add_control
(
dialog
,
rec
,
szEdit
,
WS_BORDER
|
ES_MULTILINE
|
WS_VSCROLL
|
ES_READONLY
|
ES_AUTOVSCROLL
);
return
ERROR_SUCCESS
;
...
...
@@ -350,7 +350,7 @@ static UINT msi_dialog_edit_control( msi_dialog *dialog, MSIRECORD *rec )
LPCWSTR
prop
;
LPWSTR
val
;
control
=
msi_dialog_add_control
(
dialog
,
rec
,
szEdit
,
0
);
control
=
msi_dialog_add_control
(
dialog
,
rec
,
szEdit
,
WS_BORDER
);
control
->
handler
=
msi_dialog_edit_handler
;
prop
=
MSI_RecordGetString
(
rec
,
9
);
if
(
prop
)
...
...
@@ -361,6 +361,21 @@ static UINT msi_dialog_edit_control( msi_dialog *dialog, MSIRECORD *rec )
return
ERROR_SUCCESS
;
}
static
UINT
msi_dialog_pathedit_control
(
msi_dialog
*
dialog
,
MSIRECORD
*
rec
)
{
FIXME
(
"not implemented properly
\n
"
);
return
msi_dialog_edit_control
(
dialog
,
rec
);
}
static
UINT
msi_dialog_radiogroup_control
(
msi_dialog
*
dialog
,
MSIRECORD
*
rec
)
{
LPCWSTR
name
;
name
=
MSI_RecordGetString
(
rec
,
2
);
FIXME
(
"Radio group %s
\n
"
,
debugstr_w
(
name
)
);
return
ERROR_SUCCESS
;
}
static
const
WCHAR
szText
[]
=
{
'T'
,
'e'
,
'x'
,
't'
,
0
};
static
const
WCHAR
szButton
[]
=
{
'P'
,
'u'
,
's'
,
'h'
,
'B'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
0
};
static
const
WCHAR
szLine
[]
=
{
'L'
,
'i'
,
'n'
,
'e'
,
0
};
...
...
@@ -371,6 +386,9 @@ static const WCHAR szScrollableText[] = {
static
const
WCHAR
szComboBox
[]
=
{
'C'
,
'o'
,
'm'
,
'b'
,
'o'
,
'B'
,
'o'
,
'x'
,
0
};
static
const
WCHAR
szEdit
[]
=
{
'E'
,
'd'
,
'i'
,
't'
,
0
};
static
const
WCHAR
szMaskedEdit
[]
=
{
'M'
,
'a'
,
's'
,
'k'
,
'e'
,
'd'
,
'E'
,
'd'
,
'i'
,
't'
,
0
};
static
const
WCHAR
szPathEdit
[]
=
{
'P'
,
'a'
,
't'
,
'h'
,
'E'
,
'd'
,
'i'
,
't'
,
0
};
static
const
WCHAR
szRadioButtonGroup
[]
=
{
'R'
,
'a'
,
'd'
,
'i'
,
'o'
,
'B'
,
'u'
,
't'
,
't'
,
'o'
,
'n'
,
'G'
,
'r'
,
'o'
,
'u'
,
'p'
,
0
};
struct
control_handler
msi_dialog_handler
[]
=
{
...
...
@@ -383,6 +401,8 @@ struct control_handler msi_dialog_handler[] =
{
szComboBox
,
msi_dialog_combo_control
},
{
szEdit
,
msi_dialog_edit_control
},
{
szMaskedEdit
,
msi_dialog_edit_control
},
{
szPathEdit
,
msi_dialog_pathedit_control
},
{
szRadioButtonGroup
,
msi_dialog_radiogroup_control
},
};
#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