You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WPF can not receive the touch message when set WS_EX_TRANSPARENT to window #3145
Does the bug reproduce also in WPF for .NET Framework 4.8?: Yes
Problem description:
WPF can not receive the touch message when set WS_EX_TRANSPARENT to window
We can create an empty WPF application, and then we can output message when we receive the mouse down and touch down event
But when we set the WS_EX_TRANSPARENT property to the window, that we can find that we can only receive the mouse event and can not receive the touch event
WS_EX_TRANSPARENT provides hittest transparency, which means the window is "click through". Not reporting touch events should be expected behavior? I doubt WPF can do anything here, can you confirm this is WPF specific and native applications receive touch input when setting this flag?
Activity
weltkante commentedon Jun 15, 2020
WS_EX_TRANSPARENTprovides hittest transparency, which means the window is "click through". Not reporting touch events should be expected behavior? I doubt WPF can do anything here, can you confirm this is WPF specific and native applications receive touch input when setting this flag?치트시트에서 마우스로 삽입하고 관리창을 열 수 있게 한다