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
abbe4b6d
Commit
abbe4b6d
authored
Jan 06, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Make radio buttons grey out correctly when disabled.
parent
b9d135a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
dialog.c
dlls/msi/dialog.c
+16
-2
No files found.
dlls/msi/dialog.c
View file @
abbe4b6d
...
...
@@ -722,7 +722,8 @@ MSIScrollText_WndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
msi_free
(
info
);
RemovePropW
(
hWnd
,
szButtonData
);
break
;
case
WM_VSCROLL
:
case
WM_PAINT
:
/* native MSI sets a wait cursor here */
msi_dialog_button_handler
(
info
->
dialog
,
info
->
control
,
BN_CLICKED
);
break
;
}
...
...
@@ -2007,16 +2008,29 @@ static LRESULT WINAPI MSIDialog_WndProc( HWND hwnd, UINT msg,
return
DefWindowProcW
(
hwnd
,
msg
,
wParam
,
lParam
);
}
static
BOOL
CALLBACK
msi_radioground_child_enum
(
HWND
hWnd
,
LPARAM
lParam
)
{
EnableWindow
(
hWnd
,
lParam
);
return
TRUE
;
}
static
LRESULT
WINAPI
MSIRadioGroup_WndProc
(
HWND
hWnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
WNDPROC
oldproc
=
(
WNDPROC
)
GetPropW
(
hWnd
,
szButtonData
);
LRESULT
r
;
TRACE
(
"hWnd %p msg %04x wParam 0x%08x lParam 0x%08lx
\n
"
,
hWnd
,
msg
,
wParam
,
lParam
);
if
(
msg
==
WM_COMMAND
)
/* Forward notifications to dialog */
SendMessageW
(
GetParent
(
hWnd
),
msg
,
wParam
,
lParam
);
return
CallWindowProcW
(
oldproc
,
hWnd
,
msg
,
wParam
,
lParam
);
r
=
CallWindowProcW
(
oldproc
,
hWnd
,
msg
,
wParam
,
lParam
);
/* make sure the radio buttons show as disabled if the parent is disabled */
if
(
msg
==
WM_ENABLE
)
EnumChildWindows
(
hWnd
,
msi_radioground_child_enum
,
wParam
);
return
r
;
}
static
LRESULT
WINAPI
MSIHiddenWindowProc
(
HWND
hwnd
,
UINT
msg
,
...
...
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