return (gppiLockSFW || guSFWLockCount);
}
+/*
+ Get capture window via foreground Queue.
+*/
HWND FASTCALL
IntGetCaptureWindow(VOID)
{
(Wnd && !VerifyWnd(Wnd)) ||
ThreadQueue != pti->MessageQueue )
{
- ERR("SetActiveWindow: Summery ERROR, active state changed!\n");
+ ERR("SetActiveWindow: Summary ERROR, active state changed!\n");
return FALSE;
}
{
if (Window->head.pti->MessageQueue != ThreadQueue)
{
+ ERR("Window Thread dos not match Current!\n");
return NULL;
}
}
{
if (ThreadQueue->MenuOwner && Window) ThreadQueue->QF_flags |= QF_CAPTURELOCKED;
- //co_IntPostOrSendMessage(hWndPrev, WM_CAPTURECHANGED, 0, (LPARAM)hWnd);
co_IntSendMessage(hWndPrev, WM_CAPTURECHANGED, 0, (LPARAM)hWnd);
ThreadQueue->QF_flags &= ~QF_CAPTURELOCKED;
}
- ThreadQueue->spwndCapture = Window;
-
if (hWnd == NULL) // Release mode.
{
MOUSEINPUT mi;