mirror of
https://github.com/reactos/reactos.git
synced 2024-06-27 16:31:30 +00:00
- Move code, this relates to CORE-6651.
svn path=/trunk/; revision=62405
This commit is contained in:
parent
53b9cb60dc
commit
d0ba06e7f2
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue