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
3bc7bdab
Commit
3bc7bdab
authored
Mar 12, 2009
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 13, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added IHTMLWindow2_confirm implementation.
parent
147cf1da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
htmlwindow.c
dlls/mshtml/htmlwindow.c
+19
-2
No files found.
dlls/mshtml/htmlwindow.c
View file @
3bc7bdab
...
...
@@ -226,8 +226,25 @@ static HRESULT WINAPI HTMLWindow2_confirm(IHTMLWindow2 *iface, BSTR message,
VARIANT_BOOL
*
confirmed
)
{
HTMLWindow
*
This
=
HTMLWINDOW2_THIS
(
iface
);
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
message
),
confirmed
);
return
E_NOTIMPL
;
WCHAR
wszTitle
[
100
];
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
message
),
confirmed
);
if
(
!
confirmed
)
return
E_INVALIDARG
;
if
(
!
LoadStringW
(
get_shdoclc
(),
IDS_MESSAGE_BOX_TITLE
,
wszTitle
,
sizeof
(
wszTitle
)
/
sizeof
(
WCHAR
)))
{
WARN
(
"Could not load message box title: %d
\n
"
,
GetLastError
());
*
confirmed
=
VARIANT_TRUE
;
return
S_OK
;
}
if
(
MessageBoxW
(
This
->
doc
->
hwnd
,
message
,
wszTitle
,
MB_OKCANCEL
|
MB_ICONQUESTION
)
==
IDOK
)
*
confirmed
=
VARIANT_TRUE
;
else
*
confirmed
=
VARIANT_FALSE
;
return
S_OK
;
}
typedef
struct
...
...
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