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
9a4c3649
Commit
9a4c3649
authored
Jul 29, 2010
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Jul 30, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Add support for setting the statusbar text in IE.
parent
e532b1c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
6 deletions
+19
-6
ie.c
dlls/shdocvw/ie.c
+4
-2
iexplore.c
dlls/shdocvw/iexplore.c
+12
-3
shdocvw.h
dlls/shdocvw/shdocvw.h
+3
-1
No files found.
dlls/shdocvw/ie.c
View file @
9a4c3649
...
...
@@ -396,8 +396,10 @@ static HRESULT WINAPI InternetExplorer_get_StatusText(IWebBrowser2 *iface, BSTR
static
HRESULT
WINAPI
InternetExplorer_put_StatusText
(
IWebBrowser2
*
iface
,
BSTR
StatusText
)
{
InternetExplorer
*
This
=
WEBBROWSER_THIS
(
iface
);
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
StatusText
));
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
StatusText
));
return
update_ie_statustext
(
This
,
StatusText
);
}
static
HRESULT
WINAPI
InternetExplorer_get_ToolBar
(
IWebBrowser2
*
iface
,
int
*
Value
)
...
...
dlls/shdocvw/iexplore.c
View file @
9a4c3649
...
...
@@ -41,12 +41,22 @@ WINE_DEFAULT_DEBUG_CHANNEL(shdocvw);
#define IDI_APPICON 1
#define DOCHOST_THIS(iface) DEFINE_THIS2(InternetExplorer,doc_host,iface)
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
};
HRESULT
update_ie_statustext
(
InternetExplorer
*
This
,
LPCWSTR
text
)
{
if
(
!
SendMessageW
(
This
->
status_hwnd
,
SB_SETTEXTW
,
MAKEWORD
(
SB_SIMPLEID
,
0
),
(
LPARAM
)
text
))
return
E_FAIL
;
return
S_OK
;
}
void
adjust_ie_docobj_rect
(
HWND
frame
,
RECT
*
rc
)
{
HWND
hwndRebar
=
GetDlgItem
(
frame
,
IDC_BROWSE_REBAR
);
...
...
@@ -378,9 +388,8 @@ static void WINAPI DocHostContainer_GetDocObjRect(DocHost* This, RECT* rc)
static
HRESULT
WINAPI
DocHostContainer_SetStatusText
(
DocHost
*
This
,
LPCWSTR
text
)
{
FIXME
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
text
));
return
E_NOTIMPL
;
InternetExplorer
*
ie
=
DOCHOST_THIS
(
This
);
return
update_ie_statustext
(
ie
,
text
);
}
static
void
WINAPI
DocHostContainer_SetURL
(
DocHost
*
This
,
LPCWSTR
url
)
...
...
dlls/shdocvw/shdocvw.h
View file @
9a4c3649
...
...
@@ -270,7 +270,8 @@ HRESULT InternetShortcut_Create(IUnknown*,REFIID,void**);
HRESULT
TaskbarList_Create
(
IUnknown
*
,
REFIID
,
void
**
);
#define DEFINE_THIS(cls,ifc,iface) ((cls*)((BYTE*)(iface)-offsetof(cls,lp ## ifc ## Vtbl)))
#define DEFINE_THIS2(cls,ifc,iface) ((cls*)((BYTE*)(iface)-offsetof(cls,ifc)))
#define DEFINE_THIS(cls,ifc,iface) DEFINE_THIS2(cls,lp ## ifc ## Vtbl,iface)
/**********************************************************************
* Dll lifetime tracking declaration for shdocvw.dll
...
...
@@ -283,6 +284,7 @@ extern HINSTANCE shdocvw_hinstance;
extern
void
register_iewindow_class
(
void
);
extern
void
unregister_iewindow_class
(
void
);
extern
void
adjust_ie_docobj_rect
(
HWND
,
RECT
*
);
extern
HRESULT
update_ie_statustext
(
InternetExplorer
*
,
LPCWSTR
);
HRESULT
register_class_object
(
BOOL
);
HRESULT
get_typeinfo
(
ITypeInfo
**
);
...
...
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