shdocvw: Added GetWindow implementation.

This commit is contained in:
Jacek Caban 2006-01-20 16:12:36 +01:00 committed by Alexandre Julliard
parent 13c7e9de05
commit 360a4aff29
1 changed files with 2 additions and 15 deletions

View File

@ -459,22 +459,9 @@ static HRESULT WINAPI OleInPlaceObject_GetWindow(IOleInPlaceObject *iface, HWND*
{
WebBrowser *This = INPLACEOBJ_THIS(iface);
FIXME("(%p)->(%p)\n", This, phwnd);
#if 0
/* Create a fake window to fool MFC into believing that we actually
* have an implemented browser control. Avoids the assertion.
*/
HWND hwnd;
hwnd = CreateWindowA("BUTTON", "Web Control",
WS_HSCROLL | WS_VSCROLL | WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT, CW_USEDEFAULT, 600,
400, NULL, NULL, NULL, NULL);
*phwnd = hwnd;
TRACE ("Returning hwnd = %d\n", hwnd);
#endif
TRACE("(%p)->(%p)\n", This, phwnd);
*phwnd = This->shell_embedding_hwnd;
return S_OK;
}