- revert change from revision 41251, because it introduce more problems then it fixes

- basic problem still unsolved, window z-ordering doesn't work properly

svn path=/trunk/; revision=42956
This commit is contained in:
Matthias Kupfer 2009-08-27 14:55:54 +00:00
parent e75fc4e648
commit 1abc5e10f8

View file

@ -1022,7 +1022,11 @@ co_WinPosSetWindowPos(
if (InsertAfterWindow != NULL)
UserDereferenceObject(InsertAfterWindow);
if ((HWND_TOPMOST == WinPos.hwndInsertAfter)
&& (IntIsDesktopWindow(Window->Parent)))
|| (0 != (Window->Wnd->ExStyle & WS_EX_TOPMOST)
&& NULL != Window->PrevSibling
&& 0 != (Window->PrevSibling->Wnd->ExStyle & WS_EX_TOPMOST))
|| (NULL != Window->NextSibling
&& 0 != (Window->NextSibling->Wnd->ExStyle & WS_EX_TOPMOST)))
{
Window->Wnd->ExStyle |= WS_EX_TOPMOST;
}