次の方法で共有


TouchCalibrateUI_HandleUserInputMessage (Compact 2013)

3/28/2014

This function is called whenever the user presses a key or touches the screen during calibration.

Syntax

void TouchCalibrateUI_HandleUserInputMessage( 
  UINT Message, 
  UINT wParam, 
  UINT lParam 
);

Parameters

  • Message
    Windows message (for example, WM_LBUTTONDOWN).
  • wParam
    Short integer that contains additional message-specific information.
  • lParam
    Long integer that contains additional message-specific information.

Return Value

None.

Remarks

This function should ignore all inputs unless the touch calibration state variable has a value of TCS_CONFIRMING.

This function is usually responsible for calling TouchCalibrateUI_Done. The sample code checks the state of the keyboard to decide whether to wait for the ESC or ENTER key to be pressed or to wait for a tap on the screen.

Requirements

Header

calibrui.h

See Also

Reference

Touch Calibration Functions
TouchCalibrateUI_Done
TouchCalibrateUI_DrawConfirmationScreen
TouchCalibrateUI_DrawMainScreen
TouchCalibrateUI_Initialize
TouchCalibrateUI_WaitForConfirmation