Microsoft Windows CE 3.0  

TouchCalibrateUI_HandleUserInputMessage

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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
The 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

Runs on Versions Defined in Include Link to
Windows CE OS 2.10 and later Calibrui.h    

See Also

TouchCalibrateUI_Done, TouchCalibrateUI_DrawConfirmationScreen, TouchCalibrateUI_DrawMainScreen, TouchCalibrateUI_Initialize, TouchCalibrateUI_WaitForConfirmation