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
04f547dc
Commit
04f547dc
authored
Jan 23, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Jan 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Support msidbControlAttributesSunken.
parent
33fa9d08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
dialog.c
dlls/msi/dialog.c
+8
-5
No files found.
dlls/msi/dialog.c
View file @
04f547dc
...
...
@@ -314,7 +314,7 @@ static UINT msi_dialog_build_font_list( msi_dialog *dialog )
}
static
msi_control
*
msi_dialog_create_window
(
msi_dialog
*
dialog
,
MSIRECORD
*
rec
,
LPCWSTR
szCls
,
LPCWSTR
name
,
LPCWSTR
text
,
MSIRECORD
*
rec
,
DWORD
exstyle
,
LPCWSTR
szCls
,
LPCWSTR
name
,
LPCWSTR
text
,
DWORD
style
,
HWND
parent
)
{
DWORD
x
,
y
,
width
,
height
;
...
...
@@ -351,7 +351,7 @@ static msi_control *msi_dialog_create_window( msi_dialog *dialog,
font
=
msi_dialog_get_style
(
title_font
,
&
title
);
}
control
->
hwnd
=
CreateWindow
W
(
szCls
,
title
,
style
,
control
->
hwnd
=
CreateWindow
ExW
(
exstyle
,
szCls
,
title
,
style
,
x
,
y
,
width
,
height
,
parent
,
NULL
,
NULL
,
NULL
);
TRACE
(
"Dialog %s control %s hwnd %p
\n
"
,
...
...
@@ -520,6 +520,7 @@ static msi_control *msi_dialog_add_control( msi_dialog *dialog,
{
DWORD
attributes
;
LPCWSTR
text
,
name
;
DWORD
exstyle
=
0
;
name
=
MSI_RecordGetString
(
rec
,
2
);
attributes
=
MSI_RecordGetInteger
(
rec
,
8
);
...
...
@@ -528,11 +529,13 @@ static msi_control *msi_dialog_add_control( msi_dialog *dialog,
style
|=
WS_VISIBLE
;
if
(
~
attributes
&
msidbControlAttributesEnabled
)
style
|=
WS_DISABLED
;
if
(
attributes
&
msidbControlAttributesSunken
)
exstyle
|=
WS_EX_CLIENTEDGE
;
msi_dialog_map_events
(
dialog
,
name
);
return
msi_dialog_create_window
(
dialog
,
rec
,
szCls
,
name
,
text
,
style
,
dialog
->
hwnd
);
return
msi_dialog_create_window
(
dialog
,
rec
,
exstyle
,
szCls
,
name
,
text
,
style
,
dialog
->
hwnd
);
}
struct
msi_text_info
...
...
@@ -1335,7 +1338,7 @@ static UINT msi_dialog_create_radiobutton( MSIRECORD *rec, LPVOID param )
if
(
~
attributes
&
2
)
style
|=
WS_DISABLED
;
control
=
msi_dialog_create_window
(
dialog
,
rec
,
szButton
,
name
,
text
,
control
=
msi_dialog_create_window
(
dialog
,
rec
,
0
,
szButton
,
name
,
text
,
style
,
group
->
parent
->
hwnd
);
if
(
!
control
)
return
ERROR_FUNCTION_FAILED
;
...
...
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