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
62f1ef9d
Commit
62f1ef9d
authored
Dec 12, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added alert implementation.
parent
fdcd9859
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
htmlwindow.c
dlls/mshtml/htmlwindow.c
+12
-2
resource.h
dlls/mshtml/resource.h
+2
-0
No files found.
dlls/mshtml/htmlwindow.c
View file @
62f1ef9d
...
...
@@ -193,8 +193,18 @@ static HRESULT WINAPI HTMLWindow2_clearTimeout(IHTMLWindow2 *iface, long timerID
static
HRESULT
WINAPI
HTMLWindow2_alert
(
IHTMLWindow2
*
iface
,
BSTR
message
)
{
HTMLWindow
*
This
=
HTMLWINDOW2_THIS
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
message
));
return
E_NOTIMPL
;
WCHAR
wszTitle
[
100
];
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
message
));
if
(
!
LoadStringW
(
get_shdoclc
(),
IDS_MESSAGE_BOX_TITLE
,
wszTitle
,
sizeof
(
wszTitle
)
/
sizeof
(
WCHAR
)))
{
WARN
(
"Could not load message box title: %d
\n
"
,
GetLastError
());
return
S_OK
;
}
MessageBoxW
(
This
->
doc
->
hwnd
,
message
,
wszTitle
,
MB_ICONWARNING
);
return
S_OK
;
}
static
HRESULT
WINAPI
HTMLWindow2_confirm
(
IHTMLWindow2
*
iface
,
BSTR
message
,
...
...
dlls/mshtml/resource.h
View file @
62f1ef9d
...
...
@@ -26,6 +26,8 @@
#define ID_DWL_INSTALL 7602
#define ID_DWL_STATUS 7603
#define IDS_MESSAGE_BOX_TITLE 2213
#define IDR_BROWSE_CONTEXT_MENU 24641
#define IDM_TRACETAGS 6004
...
...
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