Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: AvalonDock AutoHidden Panel and Touch

$
0
0
I'm having the same problem. I've narrowed it down to how LayoutAutoHideWindowControl.cs is implemented. It uses HwndHost which doesn't send the events to WPF by default.

http://social.msdn.microsoft.com/Forums/vstudio/en-US/73f4c0d2-8a1e-4ac6-ac24-78f10eb3dcd9/wpf-button-not-getting-events-from-touch-when-on-top-of-hwndhost?forum=wpf

I tried to override the touch events in LayoutAutoHideWindowControl.cs but it never went into the events i.e. OnTouchDown.

I also tried to see if I could pick up the WM_TOUCH message in the WndProc method, but it didn't seem to send that message when I used touch.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd317341(v=vs.85).aspx

I found that if I used TouchExpressions.EnableSurfaceInput, the AutoHide Window now responds to touch, but then my normal WPF buttons no longer responds to touch.

http://msdn.microsoft.com/en-us/library/ff724581.aspx

At this point, I'm not sure what else to try.

Viewing all articles
Browse latest Browse all 2157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>