Hi,
I didnt see any forum for WinCE Platform Builder. Thats why i am posting it here.. :-)

I'm working on a Geode based webpad, with Microsoft platform builder 4. My doubts are
regarding touch screen calibration:
In calibrui.cpp, I could see all the functions related to executing the
calibration sequence.
But before that, can you tell me where/how the following can be done:
# How do I configure the number of calibration points required to be tapped
while calibration/recalibration to *four* ?(I need to have 4 cross-hair tap
points while calibrating).
# How/where do I alter the *default* screen co-ordinates (the four corners
of
the touch screen) ?
# How can this be tested on a virtual CEPC emulator (The recalibration is
not working in emulator even after I added the touch component)?

Some observations:
----------------------------
The function TouchPanelSetCalibration(..) (defined in CALIBRAT.C) is called
from TCHMAIN.C, with null parameters (TouchPanelSetCalibration( 0, NULL,
NULL, NULL, NULL ). Is this the reason why the sample calibration is is
not invoked in the emulator? In this function (TouchPanelSetCalibration())
we can see the following condition being checked:
................
if ( cCalibrationPoints == 0 )
{
v_Calibrated = FALSE;
return TRUE;
}
...............
The condition will always fail and the function will return subsequently, as
we saw that the function is invoked with a zero value for cCalibrationPoints
argument in TCHMAIN.C.

Paths:
---------
..\WINCE400\public\common\oak\DRIVERS\TCH_CAL\CALIBRAT.C
..\WINCE400\public\common\oak\DRIVERS\TOUCH\TCHMAIN\TCHMAIN.c

Any information would be of great help.

Thankx in advance,
Dave.