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
8182520f
Commit
8182520f
authored
May 05, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Support setting an icon on the main iexplore window.
parent
978b4898
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
iexplore.c
dlls/shdocvw/iexplore.c
+8
-4
No files found.
dlls/shdocvw/iexplore.c
View file @
8182520f
...
@@ -37,6 +37,8 @@
...
@@ -37,6 +37,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
shdocvw
);
WINE_DEFAULT_DEBUG_CHANNEL
(
shdocvw
);
#define IDI_APPICON 101
static
const
WCHAR
szIEWinFrame
[]
=
{
'I'
,
'E'
,
'F'
,
'r'
,
'a'
,
'm'
,
'e'
,
0
};
static
const
WCHAR
szIEWinFrame
[]
=
{
'I'
,
'E'
,
'F'
,
'r'
,
'a'
,
'm'
,
'e'
,
0
};
static
LRESULT
iewnd_OnCreate
(
HWND
hwnd
,
LPCREATESTRUCTW
lpcs
)
static
LRESULT
iewnd_OnCreate
(
HWND
hwnd
,
LPCREATESTRUCTW
lpcs
)
...
@@ -85,7 +87,7 @@ ie_window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
...
@@ -85,7 +87,7 @@ ie_window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
void
register_iewindow_class
(
void
)
void
register_iewindow_class
(
void
)
{
{
WNDCLASSW
wc
;
WNDCLASS
EX
W
wc
;
memset
(
&
wc
,
0
,
sizeof
wc
);
memset
(
&
wc
,
0
,
sizeof
wc
);
wc
.
style
=
0
;
wc
.
style
=
0
;
...
@@ -93,13 +95,15 @@ void register_iewindow_class(void)
...
@@ -93,13 +95,15 @@ void register_iewindow_class(void)
wc
.
cbClsExtra
=
0
;
wc
.
cbClsExtra
=
0
;
wc
.
cbWndExtra
=
sizeof
(
InternetExplorer
*
);
wc
.
cbWndExtra
=
sizeof
(
InternetExplorer
*
);
wc
.
hInstance
=
shdocvw_hinstance
;
wc
.
hInstance
=
shdocvw_hinstance
;
wc
.
hIcon
=
0
;
wc
.
hIcon
=
LoadIconW
(
GetModuleHandleW
(
0
),
MAKEINTRESOURCEW
(
IDI_APPICON
));
wc
.
hCursor
=
LoadCursorW
(
0
,
MAKEINTRESOURCEW
(
IDI_APPLICATION
));
wc
.
hIconSm
=
LoadImageW
(
GetModuleHandleW
(
0
),
MAKEINTRESOURCEW
(
IDI_APPICON
),
IMAGE_ICON
,
GetSystemMetrics
(
SM_CXSMICON
),
GetSystemMetrics
(
SM_CYSMICON
),
LR_SHARED
);
wc
.
hCursor
=
LoadCursorW
(
0
,
MAKEINTRESOURCEW
(
IDC_ARROW
));
wc
.
hbrBackground
=
0
;
wc
.
hbrBackground
=
0
;
wc
.
lpszClassName
=
szIEWinFrame
;
wc
.
lpszClassName
=
szIEWinFrame
;
wc
.
lpszMenuName
=
NULL
;
wc
.
lpszMenuName
=
NULL
;
RegisterClassW
(
&
wc
);
RegisterClass
Ex
W
(
&
wc
);
}
}
void
unregister_iewindow_class
(
void
)
void
unregister_iewindow_class
(
void
)
...
...
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