- Move code, this relates to CORE-6651.

svn path=/trunk/; revision=62405
This commit is contained in:
James Tabor 2014-03-02 22:42:00 +00:00
parent 53b9cb60dc
commit d0ba06e7f2

View file

@ -298,28 +298,6 @@ IntSendFocusMessages( PTHREADINFO pti, PWND pWnd)
}
}
HWND FASTCALL
IntFindChildWindowToOwner(PWND Root, PWND Owner)
{
HWND Ret;
PWND Child, OwnerWnd;
for(Child = Root->spwndChild; Child; Child = Child->spwndNext)
{
OwnerWnd = Child->spwndOwner;
if(!OwnerWnd)
continue;
if(OwnerWnd == Owner)
{
Ret = Child->head.h;
return Ret;
}
}
return NULL;
}
VOID FASTCALL
FindRemoveAsyncMsg(PWND Wnd, WPARAM wParam)
{
@ -546,6 +524,30 @@ co_IntSetForegroundAndFocusWindow(
return Ret && fgRet;
}
/*
Revision 7888, activate modal dialog when clicking on a disabled window.
*/
HWND FASTCALL
IntFindChildWindowToOwner(PWND Root, PWND Owner)
{
HWND Ret;
PWND Child, OwnerWnd;
for(Child = Root->spwndChild; Child; Child = Child->spwndNext)
{
OwnerWnd = Child->spwndOwner;
if(!OwnerWnd)
continue;
if(OwnerWnd == Owner)
{
Ret = Child->head.h;
return Ret;
}
}
return NULL;
}
BOOL FASTCALL
co_IntMouseActivateWindow(PWND Wnd)
{