次の方法で共有


TouchCalibrateUI_HandleUserInputMessage (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

TouchCalibrateUI_Done
TouchCalibrateUI_DrawConfirmationScreen
TouchCalibrateUI_DrawMainScreen
TouchCalibrateUI_Initialize
TouchCalibrateUI_WaitForConfirmation

Other Resources

Touch Screen Calibration Functions