Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

How to deal with the WM_TOUCH message also moves cursor in C++?

$
0
0

I'm developing an app with touch features on WIN 8, but i found after i handled the WM_TOUCH message, the cursor still moved to the point I've touched(the first touch point).

Even I handled the message in PreTranslateMessage, it still didn't work as I want.

How to disable that function? I don't want the cursor to move following my touch.

Could the WM_TOUCH and WM_MOUSEMOVE .etc be separately handled?

I'm using C++ and MFC Library. Visual Studio 2010

Thanks very much everyone.


Viewing all articles
Browse latest Browse all 15302

Trending Articles



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