- implement flag HWND_MESSAGE
Index: wine/windows/win.c =================================================================== RCS file: /home/wine/wine/windows/win.c,v retrieving revision 1.187 diff -d -u -r1.187 win.c --- wine/windows/win.c 24 Jul 2002 19:02:50 -0000 1.187 +++ wine/windows/win.c 6 Aug 2002 20:30:05 -0000 @@ -1017,12 +1017,20 @@ parent = GetDesktopWindow(); owner = 0; - if (cs->hwndParent) + + if (cs->hwndParent == HWND_MESSAGE) + { + /* native ole32.OleInitialize uses HWND_MESSAGE to create the + * message window (style: WS_POPUP|WS_DISABLED) + */ + FIXME("Parent is HWND_MESSAGE\n"); + } + else if (cs->hwndParent) { /* Make sure parent is valid */ if (!IsWindow( cs->hwndParent )) { - WARN("Bad parent %04x\n", cs->hwndParent ); + WARN("Bad parent %04x\n", cs->hwndParent ); return 0; } if (cs->style & WS_CHILD) parent = WIN_GetFullHandle(cs->hwndParent);