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
ff529f46
Commit
ff529f46
authored
Jul 10, 2018
by
Michael Müller
Committed by
Alexandre Julliard
Jul 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browseui: Implement IProgressDialog::SetAnimation.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8de2464c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
browseui.rc
dlls/browseui/browseui.rc
+1
-1
progressdlg.c
dlls/browseui/progressdlg.c
+10
-1
No files found.
dlls/browseui/browseui.rc
View file @
ff529f46
...
...
@@ -32,7 +32,7 @@ STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CLIPCHILDREN | WS_C
CAPTION ""
FONT 8, "MS Shell Dlg"
{
CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA,
0, 12, 10, 236, 25 /* TODO: style */
CONTROL "", IDC_ANIMATION, ANIMATE_CLASSA,
ACS_TRANSPARENT | ACS_AUTOPLAY, 12, 10, 236, 25
LTEXT "", IDC_TEXT_LINE, 7, 45, 250, 10, SS_LEFT|SS_NOPREFIX
LTEXT "", IDC_TEXT_LINE + 1, 7, 55, 250, 10, SS_LEFT|SS_NOPREFIX
CONTROL "", IDC_PROGRESS_BAR, PROGRESS_CLASSA, WS_BORDER, 7, 65, 190, 8
...
...
dlls/browseui/progressdlg.c
View file @
ff529f46
...
...
@@ -403,7 +403,16 @@ static HRESULT WINAPI ProgressDialog_SetTitle(IProgressDialog *iface, LPCWSTR pw
static
HRESULT
WINAPI
ProgressDialog_SetAnimation
(
IProgressDialog
*
iface
,
HINSTANCE
hInstance
,
UINT
uiResourceId
)
{
FIXME
(
"(%p, %p, %d) - stub
\n
"
,
iface
,
hInstance
,
uiResourceId
);
ProgressDialog
*
This
=
impl_from_IProgressDialog
(
iface
);
TRACE
(
"(%p, %p, %u)
\n
"
,
iface
,
hInstance
,
uiResourceId
);
if
(
IS_INTRESOURCE
(
uiResourceId
))
{
if
(
!
SendDlgItemMessageW
(
This
->
hwnd
,
IDC_ANIMATION
,
ACM_OPENW
,
(
WPARAM
)
hInstance
,
uiResourceId
))
WARN
(
"Failed to load animation
\n
"
);
}
return
S_OK
;
}
...
...
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