Win2000: If both WS_EX_LAYERED and WS_EX_TRANSPARENT styles are set,

mouse clicks should go straight through the window.
This commit is contained in:
Ove Kaaven 2001-03-19 19:14:22 +00:00 committed by Alexandre Julliard
parent 76df432757
commit e17aaa22d4
1 changed files with 1 additions and 0 deletions

View File

@ -478,6 +478,7 @@ INT16 WINPOS_WindowFromPoint( WND* wndScope, POINT16 pt, WND **ppWnd )
/* its children. Otherwise, go to the next window. */
if ((wndPtr->dwStyle & WS_VISIBLE) &&
((wndPtr->dwExStyle & (WS_EX_LAYERED | WS_EX_TRANSPARENT)) != (WS_EX_LAYERED | WS_EX_TRANSPARENT)) &&
(!(wndPtr->dwStyle & WS_DISABLED) ||
((wndPtr->dwStyle & (WS_POPUP | WS_CHILD)) != WS_CHILD)) &&
(wndPtr->hrgnWnd ?