Hi,

A few questions on touch screen calibration in WinCE 5

For calibration of the touch screen, we call the function
TouchCalibrate, which shows up an UI to calibrate the screen, and
finally updates the registry.

1. Is it possible to change this UI?

2. Can we have our own routine to calibrate the touch screen, or this
is the only one to be called for calibration?

3. Do we have the code for this function available?

4. Is it possible to automatically call another function after the
calibration is complete (basically to get the new registry data and
save it into a file, as the registry in my system is not stored in a
non volatile medium)

RE: Touch Screen Calibration - WinCE 5 - TouchCalibrate by TomIsaacson

TomIsaacson
Mon May 14 03:07:00 CDT 2007

Platform Builder can automatically clone TouchCalibrate:
1. Open your Workspace
2. From the catalog, search for â??Minimal GDI Configurationâ??
3. Right click and choose â??Clone Catalog Itemâ??
4. A bunch of libraries will be listed, but the one you want is â??calibruiâ??.
Make sure it is checked and select â??OKâ??.
This puts a copy of TouchCalibrate in the directory "calibrui" in your
workspace. You can now change the UI and the code and this will replace the
standard function. Good luck.

Tom

"igotembedded1@yahoo.com" wrote:

> Hi,
>
> A few questions on touch screen calibration in WinCE 5
>
> For calibration of the touch screen, we call the function
> TouchCalibrate, which shows up an UI to calibrate the screen, and
> finally updates the registry.
>
> 1. Is it possible to change this UI?
>
> 2. Can we have our own routine to calibrate the touch screen, or this
> is the only one to be called for calibration?
>
> 3. Do we have the code for this function available?
>
> 4. Is it possible to automatically call another function after the
> calibration is complete (basically to get the new registry data and
> save it into a file, as the registry in my system is not stored in a
> non volatile medium)
>
>

Re: Touch Screen Calibration - WinCE 5 - TouchCalibrate by igotembedded1

igotembedded1
Tue May 15 01:54:42 CDT 2007

On May 14, 6:07 pm, Tom Isaacson
<TomIsaac...@discussions.microsoft.com> wrote:
> Platform Builder can automatically clone TouchCalibrate:
> 1. Open your Workspace
> 2. From the catalog, search for "Minimal GDI Configuration"
> 3. Right click and choose "Clone Catalog Item"
> 4. A bunch of libraries will be listed, but the one you want is "calibrui".
> Make sure it is checked and select "OK".
> This puts a copy of TouchCalibrate in the directory "calibrui" in your
> workspace. You can now change the UI and the code and this will replace the
> standard function. Good luck.
>
> Tom
>
> "igotembedd...@yahoo.com" wrote:
> > Hi,
>
> > A few questions on touch screen calibration in WinCE 5
>
> > For calibration of the touch screen, we call the function
> > TouchCalibrate, which shows up an UI to calibrate the screen, and
> > finally updates the registry.
>
> > 1. Is it possible to change this UI?
>
> > 2. Can we have our own routine to calibrate the touch screen, or this
> > is the only one to be called for calibration?
>
> > 3. Do we have the code for this function available?
>
> > 4. Is it possible to automatically call another function after the
> > calibration is complete (basically to get the new registry data and
> > save it into a file, as the registry in my system is not stored in a
> > non volatile medium)

Thanks!
I will try that...


Re: Touch Screen Calibration - WinCE 5 - TouchCalibrate by Bruce

Bruce
Tue May 15 07:48:35 CDT 2007

What it doesn't give you is a clean way to save the data. The code in the
cloned calibrui doesn't have any functions that are called after the data is
saved to the registry. You can set an event, and have a thread wait for the
event and for data to change in the registry.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

<igotembedded1@yahoo.com> wrote in message
news:1179212082.744951.291400@p77g2000hsh.googlegroups.com...
> On May 14, 6:07 pm, Tom Isaacson
> <TomIsaac...@discussions.microsoft.com> wrote:
>> Platform Builder can automatically clone TouchCalibrate:
>> 1. Open your Workspace
>> 2. From the catalog, search for "Minimal GDI Configuration"
>> 3. Right click and choose "Clone Catalog Item"
>> 4. A bunch of libraries will be listed, but the one you want is
>> "calibrui".
>> Make sure it is checked and select "OK".
>> This puts a copy of TouchCalibrate in the directory "calibrui" in your
>> workspace. You can now change the UI and the code and this will replace
>> the
>> standard function. Good luck.
>>
>> Tom
>>
>> "igotembedd...@yahoo.com" wrote:
>> > Hi,
>>
>> > A few questions on touch screen calibration in WinCE 5
>>
>> > For calibration of the touch screen, we call the function
>> > TouchCalibrate, which shows up an UI to calibrate the screen, and
>> > finally updates the registry.
>>
>> > 1. Is it possible to change this UI?
>>
>> > 2. Can we have our own routine to calibrate the touch screen, or this
>> > is the only one to be called for calibration?
>>
>> > 3. Do we have the code for this function available?
>>
>> > 4. Is it possible to automatically call another function after the
>> > calibration is complete (basically to get the new registry data and
>> > save it into a file, as the registry in my system is not stored in a
>> > non volatile medium)
>
> Thanks!
> I will try that...
>



Re: Touch Screen Calibration - WinCE 5 - TouchCalibrate by igotembedded1

igotembedded1
Tue May 15 20:28:54 CDT 2007

Hi,

1.
Well, form the code of calibrui, it looks that
"TouchCalibrateUI_Done()" is called from
"TouchCalibrateUI_HandleUserInputMessage()", which will in turn write
to the registry?
Am I correct?
If this is the case, then we can save the registry data after this
call.

Is this the only way of calibrating the touchscreen, or can an
application developer write his/her own software to calibrate the
screen which won't call the functions within the calibrui.
In that case, this method will fail and we will need to monitor the
registry.

2.
Which event is triggered when the data changes? (or how can we create
an event which is set on a particular change in the registry?)

---------

On May 15, 10:48 pm, "Bruce Eitman [eMVP]"
<beitman.nos...@applieddata.net.nospam> wrote:
> What it doesn't give you is a clean way to save the data. The code in the
> cloned calibrui doesn't have any functions that are called after the data is
> saved to the registry. You can set an event, and have a thread wait for the
> event and for data to change in the registry.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> <igotembedd...@yahoo.com> wrote in message
>
> news:1179212082.744951.291400@p77g2000hsh.googlegroups.com...
>
> > On May 14, 6:07 pm, Tom Isaacson
> > <TomIsaac...@discussions.microsoft.com> wrote:
> >> Platform Builder can automatically clone TouchCalibrate:
> >> 1. Open your Workspace
> >> 2. From the catalog, search for "Minimal GDI Configuration"
> >> 3. Right click and choose "Clone Catalog Item"
> >> 4. A bunch of libraries will be listed, but the one you want is
> >> "calibrui".
> >> Make sure it is checked and select "OK".
> >> This puts a copy of TouchCalibrate in the directory "calibrui" in your
> >> workspace. You can now change the UI and the code and this will replace
> >> the
> >> standard function. Good luck.
>
> >> Tom
>
> >> "igotembedd...@yahoo.com" wrote:
> >> > Hi,
>
> >> > A few questions on touch screen calibration in WinCE 5
>
> >> > For calibration of the touch screen, we call the function
> >> > TouchCalibrate, which shows up an UI to calibrate the screen, and
> >> > finally updates the registry.
>
> >> > 1. Is it possible to change this UI?
>
> >> > 2. Can we have our own routine to calibrate the touch screen, or this
> >> > is the only one to be called for calibration?
>
> >> > 3. Do we have the code for this function available?
>
> >> > 4. Is it possible to automatically call another function after the
> >> > calibration is complete (basically to get the new registry data and
> >> > save it into a file, as the registry in my system is not stored in a
> >> > non volatile medium)
>
> > Thanks!
> > I will try that...