2
votes

I'm trying to create a fullscreen WPF application and trying to implement a android like navigation drawer. enter image description here

So in order to accomplish this I have to detect a swipe coming from offscreen, just like the Windows 8 charm bar. enter image description here

But windows does not sent any touch/mouse events to the application if the swipe didn't start on the touchscreen (global hook isn't working too).

How am I able to detect those swipes starting offscreen just like Windows does it for the charm bar?

Just if it matters I'm using a Surface pro 3 with Win 8.1

1

1 Answers

0
votes

You need to add manipulation events on your screen/window to detect if any swipe event takes place on your screen. There is no way that you directly get that event offscreen. Referring to this link may help you.