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:
parent
76df432757
commit
e17aaa22d4
|
@ -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 ?
|
||||
|
|
Loading…
Reference in New Issue