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
8e03cefb
Commit
8e03cefb
authored
Jul 21, 2010
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Jul 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Add About dialog to IE.
parent
87f4e436
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
iexplore.c
dlls/shdocvw/iexplore.c
+18
-4
No files found.
dlls/shdocvw/iexplore.c
View file @
8e03cefb
...
...
@@ -33,6 +33,7 @@
#include "shdocvw.h"
#include "mshtmcid.h"
#include "shellapi.h"
#include "wine/debug.h"
...
...
@@ -42,6 +43,19 @@ WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
static
const
WCHAR
szIEWinFrame
[]
=
{
'I'
,
'E'
,
'F'
,
'r'
,
'a'
,
'm'
,
'e'
,
0
};
/* Windows uses "Microsoft Internet Explorer" */
static
const
WCHAR
wszWineInternetExplorer
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'I'
,
'n'
,
't'
,
'e'
,
'r'
,
'n'
,
'e'
,
't'
,
' '
,
'E'
,
'x'
,
'p'
,
'l'
,
'o'
,
'r'
,
'e'
,
'r'
,
0
};
static
void
ie_dialog_about
(
HWND
hwnd
)
{
HICON
icon
=
LoadImageW
(
GetModuleHandleW
(
0
),
MAKEINTRESOURCEW
(
IDI_APPICON
),
IMAGE_ICON
,
48
,
48
,
LR_SHARED
);
ShellAboutW
(
hwnd
,
wszWineInternetExplorer
,
NULL
,
icon
);
DestroyIcon
(
icon
);
}
static
LRESULT
iewnd_OnCreate
(
HWND
hwnd
,
LPCREATESTRUCTW
lpcs
)
{
SetWindowLongPtrW
(
hwnd
,
0
,
(
LONG_PTR
)
lpcs
->
lpCreateParams
);
...
...
@@ -85,6 +99,10 @@ static LRESULT CALLBACK iewnd_OnCommand(InternetExplorer *This, HWND hwnd, UINT
}
break
;
case
ID_BROWSE_ABOUT
:
ie_dialog_about
(
hwnd
);
break
;
default:
return
DefWindowProcW
(
hwnd
,
msg
,
wparam
,
lparam
);
}
...
...
@@ -141,10 +159,6 @@ void unregister_iewindow_class(void)
static
void
create_frame_hwnd
(
InternetExplorer
*
This
)
{
/* Windows uses "Microsoft Internet Explorer" */
static
const
WCHAR
wszWineInternetExplorer
[]
=
{
'W'
,
'i'
,
'n'
,
'e'
,
' '
,
'I'
,
'n'
,
't'
,
'e'
,
'r'
,
'n'
,
'e'
,
't'
,
' '
,
'E'
,
'x'
,
'p'
,
'l'
,
'o'
,
'r'
,
'e'
,
'r'
,
0
};
This
->
frame_hwnd
=
CreateWindowExW
(
WS_EX_WINDOWEDGE
,
szIEWinFrame
,
wszWineInternetExplorer
,
...
...
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