共用方式為


CWnd::OnTouchInput

Process single input from Windows touch.

virtual BOOL OnTouchInput(
   CPoint pt,
   int nInputNumber,
   int nInputsCount,
   PTOUCHINPUT pInput
);

Parameters

  • pt
    Point where screen has been touched (in the client coordinates).

  • nInputNumber
    Number of touch input.

  • nInputsCount
    Total number of touch inputs.

  • pInput
    Pointer to TOUCHINPUT structure.

Return Value

TRUE if the application processes Windows touch input; otherwise FALSE.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class