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
cba2e194
Commit
cba2e194
authored
Aug 09, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Create "Internet Explorer_Hidden" window.
parent
3f051823
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
htmldoc.c
dlls/mshtml/htmldoc.c
+1
-0
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-0
view.c
dlls/mshtml/view.c
+32
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
cba2e194
...
...
@@ -154,6 +154,7 @@ static ULONG WINAPI HTMLDocument_Release(IHTMLDocument2 *iface)
DestroyWindow
(
This
->
tooltips_hwnd
);
if
(
This
->
hwnd
)
DestroyWindow
(
This
->
hwnd
);
DestroyWindow
(
This
->
hidden_hwnd
);
release_nodes
(
This
);
...
...
dlls/mshtml/mshtml_private.h
View file @
cba2e194
...
...
@@ -87,6 +87,7 @@ struct HTMLDocument {
IOleInPlaceFrame
*
frame
;
HWND
hwnd
;
HWND
hidden_hwnd
;
HWND
tooltips_hwnd
;
USERMODE
usermode
;
...
...
dlls/mshtml/view.c
View file @
cba2e194
...
...
@@ -49,6 +49,36 @@ typedef struct {
WNDPROC
proc
;
}
tooltip_data
;
static
LRESULT
WINAPI
hidden_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
if
(
msg
>
WM_USER
)
FIXME
(
"(%p %d %x %lx)
\n
"
,
hwnd
,
msg
,
wParam
,
lParam
);
return
DefWindowProcW
(
hwnd
,
msg
,
wParam
,
lParam
);
}
static
void
create_hidden_window
(
HTMLDocument
*
This
)
{
static
ATOM
hidden_wnd_class
=
0
;
static
const
WCHAR
wszInternetExplorer_Hidden
[]
=
{
'I'
,
'n'
,
't'
,
'e'
,
'r'
,
'n'
,
'e'
,
't'
,
' '
,
'E'
,
'x'
,
'p'
,
'l'
,
'o'
,
'r'
,
'e'
,
'r'
,
'_'
,
'H'
,
'i'
,
'd'
,
'd'
,
'e'
,
'n'
,
0
};
if
(
!
hidden_wnd_class
)
{
WNDCLASSEXW
wndclass
=
{
sizeof
(
WNDCLASSEXW
),
0
,
hidden_proc
,
0
,
0
,
hInst
,
NULL
,
NULL
,
NULL
,
NULL
,
wszInternetExplorer_Hidden
,
NULL
};
hidden_wnd_class
=
RegisterClassExW
(
&
wndclass
);
}
This
->
hidden_hwnd
=
CreateWindowExW
(
0
,
wszInternetExplorer_Hidden
,
NULL
,
WS_POPUP
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
hInst
,
This
);
}
static
void
paint_disabled
(
HWND
hwnd
)
{
HDC
hdc
;
PAINTSTRUCT
ps
;
...
...
@@ -664,4 +694,6 @@ void HTMLDocument_View_Init(HTMLDocument *This)
This
->
in_place_active
=
FALSE
;
This
->
ui_active
=
FALSE
;
This
->
window_active
=
FALSE
;
create_hidden_window
(
This
);
}
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