Share via


TouchCalibrateUI_HandleUserInputMessage

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

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 Values

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

OS Versions: Windows CE 2.10 and later.
Header: Calibrui.h.

See Also

TouchCalibrateUI_Done | TouchCalibrateUI_DrawConfirmationScreen | TouchCalibrateUI_DrawMainScreen | TouchCalibrateUI_Initialize | TouchCalibrateUI_WaitForConfirmation

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.