Jacek Caban : shdocvw: Fix windows style of windows without parents.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Oct 23 06:12:28 CDT 2006
Module: wine
Branch: master
Commit: 6e63a9e5f58db1eb4b7915c1969c1b7d839a091d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6e63a9e5f58db1eb4b7915c1969c1b7d839a091d
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sat Oct 21 22:54:38 2006 +0200
shdocvw: Fix windows style of windows without parents.
---
dlls/shdocvw/oleobject.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/shdocvw/oleobject.c b/dlls/shdocvw/oleobject.c
index 0131d9a..aef1dd1 100644
--- a/dlls/shdocvw/oleobject.c
+++ b/dlls/shdocvw/oleobject.c
@@ -95,9 +95,12 @@ static void create_shell_embedding_hwnd(
This->doc_host.frame_hwnd = This->shell_embedding_hwnd = CreateWindowExW(
WS_EX_WINDOWEDGE,
wszShellEmbedding, wszShellEmbedding,
- WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_TABSTOP,
+ WS_CLIPSIBLINGS | WS_CLIPCHILDREN
+ | (parent ? WS_CHILD | WS_TABSTOP : WS_POPUP | WS_MAXIMIZEBOX),
0, 0, 0, 0, parent,
NULL, shdocvw_hinstance, This);
+
+ TRACE("parent=%p hwnd=%p\n", parent, This->shell_embedding_hwnd);
}
static HRESULT activate_inplace(WebBrowser *This, IOleClientSite *active_site, HWND parent_hwnd)
More information about the wine-cvs
mailing list