MFC: how to get touch screen press down event?

志斌 罗 40 Reputation points
2023-11-27T07:29:14.4266667+00:00

Hi :

The app is good with mouse. I can get the L-Button-down event when pressing L-Button, and get L-Button-up event when raising finger. 

But with a touch screen, I only get the press down/up events after I raising my finger.  

How can i get the press-down event when pressing down,  and get press-up event when rasing finger ?

Thanks in advance!
Windows development | Windows API - Win32
Developer technologies | C++
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 49,636 Reputation points
    2023-11-27T08:30:42.6766667+00:00

    The documentation at Getting Started with Windows Touch Messages shows how to receive touch input and also discusses touch with MFC.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.