GetLastActivePopup is still unimplemented, we return the current window handle if it is valid.

svn path=/trunk/; revision=34276
This commit is contained in:
James Tabor 2008-07-03 07:17:32 +00:00
parent 0dd1a22450
commit d95752ca22

View file

@ -921,8 +921,24 @@ GetGUIThreadInfo(DWORD idThread,
HWND STDCALL
GetLastActivePopup(HWND hWnd)
{
UNIMPLEMENTED;
return 0;
PWINDOW Wnd, WndParent;
HWND Ret = NULL;
Wnd = ValidateHwnd(hWnd);
if (Wnd != NULL)
{
_SEH_TRY
{
WndParent = NULL;
Ret = hWnd;
}
_SEH_HANDLE
{
/* Do nothing */
}
_SEH_END;
}
return Ret;
}