I'm trying to disable the system cursor as my system uses a touch screen (ELO
Touch). I have removed all the mouse components (in Shell and User Interface,
and USB HID) except the one in Device Drivers-Keyboard/Mouse English which
has some critical dependencies. I know it was done in WinCE 4.2, but cannot
achieve it in 6.0.

Please advise,
Dalibor

Re: Disabling system cursor in Windows CE 6.0 by Paul

Paul
Thu Jul 24 16:24:44 PDT 2008

The display driver is what is responsible for the cursor. Maybe that's
where the problem is...

Paul T.

"DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
news:03E98910-B400-4F53-8544-C25B38DA9E40@microsoft.com...
> I'm trying to disable the system cursor as my system uses a touch screen
> (ELO
> Touch). I have removed all the mouse components (in Shell and User
> Interface,
> and USB HID) except the one in Device Drivers-Keyboard/Mouse English which
> has some critical dependencies. I know it was done in WinCE 4.2, but
> cannot
> achieve it in 6.0.
>
> Please advise,
> Dalibor



Re: Disabling system cursor in Windows CE 6.0 by BillT

BillT
Mon Jul 28 06:55:02 PDT 2008

As a last resort, you might be able to use the ShowCursor( ) api in an
application to control the cursor. In CE 5.0, I use the following:

// enable cursor - true causes increment, ShowCursor must be >= 0 to be On
while( ShowCursor(true) < 0 );

and

// disable cursor - false causes decrement, ShowCursor must be < 0 to be Off
while( ShowCursor(false) >= 0 );

"Paul G. Tobey [eMVP]" wrote:

> The display driver is what is responsible for the cursor. Maybe that's
> where the problem is...
>
> Paul T.
>
> "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
> news:03E98910-B400-4F53-8544-C25B38DA9E40@microsoft.com...
> > I'm trying to disable the system cursor as my system uses a touch screen
> > (ELO
> > Touch). I have removed all the mouse components (in Shell and User
> > Interface,
> > and USB HID) except the one in Device Drivers-Keyboard/Mouse English which
> > has some critical dependencies. I know it was done in WinCE 4.2, but
> > cannot
> > achieve it in 6.0.
> >
> > Please advise,
> > Dalibor
>
>
>

Re: Disabling system cursor in Windows CE 6.0 by DaliborS

DaliborS
Thu Jul 31 15:24:21 PDT 2008

Sorry for the delayed response. I was trying to get attention from the chip
manufacturer who owns the driver source and was pointed by them towards the
board manufacturer, with no response at all. So we have tried to do the fix
on the application level as Bill has suggested, but it was not working
reliably, the cursor would turn back on. Only after implementation of
following combination it works:

WNDCLASS wc;
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
SetCursor(NULL);

We are working with ICOP VG86 platform.

"Bill T" wrote:

> As a last resort, you might be able to use the ShowCursor( ) api in an
> application to control the cursor. In CE 5.0, I use the following:
>
> // enable cursor - true causes increment, ShowCursor must be >= 0 to be On
> while( ShowCursor(true) < 0 );
>
> and
>
> // disable cursor - false causes decrement, ShowCursor must be < 0 to be Off
> while( ShowCursor(false) >= 0 );
>
> "Paul G. Tobey [eMVP]" wrote:
>
> > The display driver is what is responsible for the cursor. Maybe that's
> > where the problem is...
> >
> > Paul T.
> >
> > "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
> > news:03E98910-B400-4F53-8544-C25B38DA9E40@microsoft.com...
> > > I'm trying to disable the system cursor as my system uses a touch screen
> > > (ELO
> > > Touch). I have removed all the mouse components (in Shell and User
> > > Interface,
> > > and USB HID) except the one in Device Drivers-Keyboard/Mouse English which
> > > has some critical dependencies. I know it was done in WinCE 4.2, but
> > > cannot
> > > achieve it in 6.0.
> > >
> > > Please advise,
> > > Dalibor
> >
> >
> >

Re: Disabling system cursor in Windows CE 6.0 by Paul

Paul
Thu Jul 31 15:44:42 PDT 2008

Changing/hiding the cursor off is an application-specific operation. You
should not have control over the cursor when it's over another application,
so you don't. That is, what you're trying to do is the equivalent of
Internet Explorer taking over the cursor when Word is in front. That's not
what you want and the system prevents you from doing that, or at least makes
every effort to prevent you from doing it.

Paul T.

"DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
news:07B40203-6BEA-4B14-90E8-3DC67E22E0C1@microsoft.com...
> Sorry for the delayed response. I was trying to get attention from the
> chip
> manufacturer who owns the driver source and was pointed by them towards
> the
> board manufacturer, with no response at all. So we have tried to do the
> fix
> on the application level as Bill has suggested, but it was not working
> reliably, the cursor would turn back on. Only after implementation of
> following combination it works:
>
> WNDCLASS wc;
> wc.hCursor = LoadCursor(NULL, IDC_ARROW);
> SetCursor(NULL);
>
> We are working with ICOP VG86 platform.
>
> "Bill T" wrote:
>
>> As a last resort, you might be able to use the ShowCursor( ) api in an
>> application to control the cursor. In CE 5.0, I use the following:
>>
>> // enable cursor - true causes increment, ShowCursor must be >= 0 to be
>> On
>> while( ShowCursor(true) < 0 );
>>
>> and
>>
>> // disable cursor - false causes decrement, ShowCursor must be < 0 to be
>> Off
>> while( ShowCursor(false) >= 0 );
>>
>> "Paul G. Tobey [eMVP]" wrote:
>>
>> > The display driver is what is responsible for the cursor. Maybe that's
>> > where the problem is...
>> >
>> > Paul T.
>> >
>> > "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
>> > news:03E98910-B400-4F53-8544-C25B38DA9E40@microsoft.com...
>> > > I'm trying to disable the system cursor as my system uses a touch
>> > > screen
>> > > (ELO
>> > > Touch). I have removed all the mouse components (in Shell and User
>> > > Interface,
>> > > and USB HID) except the one in Device Drivers-Keyboard/Mouse English
>> > > which
>> > > has some critical dependencies. I know it was done in WinCE 4.2, but
>> > > cannot
>> > > achieve it in 6.0.
>> > >
>> > > Please advise,
>> > > Dalibor
>> >
>> >
>> >



Re: Disabling system cursor in Windows CE 6.0 by DaliborS

DaliborS
Thu Jul 31 15:58:02 PDT 2008

Paul,

We run only one application after the WinCE boot, with no possibility to
switch out of it, so it works in this case. Of course I would prefere to fix
the driver and disable the cursor on the system level.

"Paul G. Tobey [eMVP]" wrote:

> Changing/hiding the cursor off is an application-specific operation. You
> should not have control over the cursor when it's over another application,
> so you don't. That is, what you're trying to do is the equivalent of
> Internet Explorer taking over the cursor when Word is in front. That's not
> what you want and the system prevents you from doing that, or at least makes
> every effort to prevent you from doing it.
>
> Paul T.
>
> "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
> news:07B40203-6BEA-4B14-90E8-3DC67E22E0C1@microsoft.com...
> > Sorry for the delayed response. I was trying to get attention from the
> > chip
> > manufacturer who owns the driver source and was pointed by them towards
> > the
> > board manufacturer, with no response at all. So we have tried to do the
> > fix
> > on the application level as Bill has suggested, but it was not working
> > reliably, the cursor would turn back on. Only after implementation of
> > following combination it works:
> >
> > WNDCLASS wc;
> > wc.hCursor = LoadCursor(NULL, IDC_ARROW);
> > SetCursor(NULL);
> >
> > We are working with ICOP VG86 platform.
> >
> > "Bill T" wrote:
> >
> >> As a last resort, you might be able to use the ShowCursor( ) api in an
> >> application to control the cursor. In CE 5.0, I use the following:
> >>
> >> // enable cursor - true causes increment, ShowCursor must be >= 0 to be
> >> On
> >> while( ShowCursor(true) < 0 );
> >>
> >> and
> >>
> >> // disable cursor - false causes decrement, ShowCursor must be < 0 to be
> >> Off
> >> while( ShowCursor(false) >= 0 );
> >>
> >> "Paul G. Tobey [eMVP]" wrote:
> >>
> >> > The display driver is what is responsible for the cursor. Maybe that's
> >> > where the problem is...
> >> >
> >> > Paul T.
> >> >
> >> > "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
> >> > news:03E98910-B400-4F53-8544-C25B38DA9E40@microsoft.com...
> >> > > I'm trying to disable the system cursor as my system uses a touch
> >> > > screen
> >> > > (ELO
> >> > > Touch). I have removed all the mouse components (in Shell and User
> >> > > Interface,
> >> > > and USB HID) except the one in Device Drivers-Keyboard/Mouse English
> >> > > which
> >> > > has some critical dependencies. I know it was done in WinCE 4.2, but
> >> > > cannot
> >> > > achieve it in 6.0.
> >> > >
> >> > > Please advise,
> >> > > Dalibor
> >> >
> >> >
> >> >
>
>
>

Re: Disabling system cursor in Windows CE 6.0 by Paul

Paul
Thu Jul 31 16:01:48 PDT 2008

Yes, you have a safe case there. You tried ShowCursor( FALSE )?

Paul T.

"DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
news:EA28671C-F86D-47EB-BBE4-28F8DAA85C02@microsoft.com...
> Paul,
>
> We run only one application after the WinCE boot, with no possibility to
> switch out of it, so it works in this case. Of course I would prefere to
> fix
> the driver and disable the cursor on the system level.
>
> "Paul G. Tobey [eMVP]" wrote:
>
>> Changing/hiding the cursor off is an application-specific operation. You
>> should not have control over the cursor when it's over another
>> application,
>> so you don't. That is, what you're trying to do is the equivalent of
>> Internet Explorer taking over the cursor when Word is in front. That's
>> not
>> what you want and the system prevents you from doing that, or at least
>> makes
>> every effort to prevent you from doing it.
>>
>> Paul T.
>>
>> "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
>> news:07B40203-6BEA-4B14-90E8-3DC67E22E0C1@microsoft.com...
>> > Sorry for the delayed response. I was trying to get attention from the
>> > chip
>> > manufacturer who owns the driver source and was pointed by them towards
>> > the
>> > board manufacturer, with no response at all. So we have tried to do the
>> > fix
>> > on the application level as Bill has suggested, but it was not working
>> > reliably, the cursor would turn back on. Only after implementation of
>> > following combination it works:
>> >
>> > WNDCLASS wc;
>> > wc.hCursor = LoadCursor(NULL, IDC_ARROW);
>> > SetCursor(NULL);
>> >
>> > We are working with ICOP VG86 platform.
>> >
>> > "Bill T" wrote:
>> >
>> >> As a last resort, you might be able to use the ShowCursor( ) api in an
>> >> application to control the cursor. In CE 5.0, I use the following:
>> >>
>> >> // enable cursor - true causes increment, ShowCursor must be >= 0 to
>> >> be
>> >> On
>> >> while( ShowCursor(true) < 0 );
>> >>
>> >> and
>> >>
>> >> // disable cursor - false causes decrement, ShowCursor must be < 0 to
>> >> be
>> >> Off
>> >> while( ShowCursor(false) >= 0 );
>> >>
>> >> "Paul G. Tobey [eMVP]" wrote:
>> >>
>> >> > The display driver is what is responsible for the cursor. Maybe
>> >> > that's
>> >> > where the problem is...
>> >> >
>> >> > Paul T.
>> >> >
>> >> > "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
>> >> > news:03E98910-B400-4F53-8544-C25B38DA9E40@microsoft.com...
>> >> > > I'm trying to disable the system cursor as my system uses a touch
>> >> > > screen
>> >> > > (ELO
>> >> > > Touch). I have removed all the mouse components (in Shell and User
>> >> > > Interface,
>> >> > > and USB HID) except the one in Device Drivers-Keyboard/Mouse
>> >> > > English
>> >> > > which
>> >> > > has some critical dependencies. I know it was done in WinCE 4.2,
>> >> > > but
>> >> > > cannot
>> >> > > achieve it in 6.0.
>> >> > >
>> >> > > Please advise,
>> >> > > Dalibor
>> >> >
>> >> >
>> >> >
>>
>>
>>



Re: Disabling system cursor in Windows CE 6.0 by DaliborS

DaliborS
Thu Jul 31 16:24:01 PDT 2008

Yes, we did, but the cursor would come back again. The LoadCursor holds the
setting for the given application reliably even if you switch to another
application and come back.

Dalibor

"Paul G. Tobey [eMVP]" wrote:

> Yes, you have a safe case there. You tried ShowCursor( FALSE )?
>
> Paul T.
>
> "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
> news:EA28671C-F86D-47EB-BBE4-28F8DAA85C02@microsoft.com...
> > Paul,
> >
> > We run only one application after the WinCE boot, with no possibility to
> > switch out of it, so it works in this case. Of course I would prefere to
> > fix
> > the driver and disable the cursor on the system level.
> >
> > "Paul G. Tobey [eMVP]" wrote:
> >
> >> Changing/hiding the cursor off is an application-specific operation. You
> >> should not have control over the cursor when it's over another
> >> application,
> >> so you don't. That is, what you're trying to do is the equivalent of
> >> Internet Explorer taking over the cursor when Word is in front. That's
> >> not
> >> what you want and the system prevents you from doing that, or at least
> >> makes
> >> every effort to prevent you from doing it.
> >>
> >> Paul T.
> >>
> >> "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
> >> news:07B40203-6BEA-4B14-90E8-3DC67E22E0C1@microsoft.com...
> >> > Sorry for the delayed response. I was trying to get attention from the
> >> > chip
> >> > manufacturer who owns the driver source and was pointed by them towards
> >> > the
> >> > board manufacturer, with no response at all. So we have tried to do the
> >> > fix
> >> > on the application level as Bill has suggested, but it was not working
> >> > reliably, the cursor would turn back on. Only after implementation of
> >> > following combination it works:
> >> >
> >> > WNDCLASS wc;
> >> > wc.hCursor = LoadCursor(NULL, IDC_ARROW);
> >> > SetCursor(NULL);
> >> >
> >> > We are working with ICOP VG86 platform.
> >> >
> >> > "Bill T" wrote:
> >> >
> >> >> As a last resort, you might be able to use the ShowCursor( ) api in an
> >> >> application to control the cursor. In CE 5.0, I use the following:
> >> >>
> >> >> // enable cursor - true causes increment, ShowCursor must be >= 0 to
> >> >> be
> >> >> On
> >> >> while( ShowCursor(true) < 0 );
> >> >>
> >> >> and
> >> >>
> >> >> // disable cursor - false causes decrement, ShowCursor must be < 0 to
> >> >> be
> >> >> Off
> >> >> while( ShowCursor(false) >= 0 );
> >> >>
> >> >> "Paul G. Tobey [eMVP]" wrote:
> >> >>
> >> >> > The display driver is what is responsible for the cursor. Maybe
> >> >> > that's
> >> >> > where the problem is...
> >> >> >
> >> >> > Paul T.
> >> >> >
> >> >> > "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
> >> >> > news:03E98910-B400-4F53-8544-C25B38DA9E40@microsoft.com...
> >> >> > > I'm trying to disable the system cursor as my system uses a touch
> >> >> > > screen
> >> >> > > (ELO
> >> >> > > Touch). I have removed all the mouse components (in Shell and User
> >> >> > > Interface,
> >> >> > > and USB HID) except the one in Device Drivers-Keyboard/Mouse
> >> >> > > English
> >> >> > > which
> >> >> > > has some critical dependencies. I know it was done in WinCE 4.2,
> >> >> > > but
> >> >> > > cannot
> >> >> > > achieve it in 6.0.
> >> >> > >
> >> >> > > Please advise,
> >> >> > > Dalibor
> >> >> >
> >> >> >
> >> >> >
> >>
> >>
> >>
>
>
>

Re: Disabling system cursor in Windows CE 6.0 by Paul

Paul
Thu Jul 31 16:43:36 PDT 2008

But, if you don't ever switch away from your application... ;-)

Paul T.

"DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
news:AD7A9B58-9499-4AD9-9EC5-306CC9AAB7DB@microsoft.com...
> Yes, we did, but the cursor would come back again. The LoadCursor holds
> the
> setting for the given application reliably even if you switch to another
> application and come back.
>
> Dalibor
>
> "Paul G. Tobey [eMVP]" wrote:
>
>> Yes, you have a safe case there. You tried ShowCursor( FALSE )?
>>
>> Paul T.
>>
>> "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
>> news:EA28671C-F86D-47EB-BBE4-28F8DAA85C02@microsoft.com...
>> > Paul,
>> >
>> > We run only one application after the WinCE boot, with no possibility
>> > to
>> > switch out of it, so it works in this case. Of course I would prefere
>> > to
>> > fix
>> > the driver and disable the cursor on the system level.
>> >
>> > "Paul G. Tobey [eMVP]" wrote:
>> >
>> >> Changing/hiding the cursor off is an application-specific operation.
>> >> You
>> >> should not have control over the cursor when it's over another
>> >> application,
>> >> so you don't. That is, what you're trying to do is the equivalent of
>> >> Internet Explorer taking over the cursor when Word is in front. That's
>> >> not
>> >> what you want and the system prevents you from doing that, or at least
>> >> makes
>> >> every effort to prevent you from doing it.
>> >>
>> >> Paul T.
>> >>
>> >> "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
>> >> news:07B40203-6BEA-4B14-90E8-3DC67E22E0C1@microsoft.com...
>> >> > Sorry for the delayed response. I was trying to get attention from
>> >> > the
>> >> > chip
>> >> > manufacturer who owns the driver source and was pointed by them
>> >> > towards
>> >> > the
>> >> > board manufacturer, with no response at all. So we have tried to do
>> >> > the
>> >> > fix
>> >> > on the application level as Bill has suggested, but it was not
>> >> > working
>> >> > reliably, the cursor would turn back on. Only after implementation
>> >> > of
>> >> > following combination it works:
>> >> >
>> >> > WNDCLASS wc;
>> >> > wc.hCursor = LoadCursor(NULL, IDC_ARROW);
>> >> > SetCursor(NULL);
>> >> >
>> >> > We are working with ICOP VG86 platform.
>> >> >
>> >> > "Bill T" wrote:
>> >> >
>> >> >> As a last resort, you might be able to use the ShowCursor( ) api in
>> >> >> an
>> >> >> application to control the cursor. In CE 5.0, I use the following:
>> >> >>
>> >> >> // enable cursor - true causes increment, ShowCursor must be >= 0
>> >> >> to
>> >> >> be
>> >> >> On
>> >> >> while( ShowCursor(true) < 0 );
>> >> >>
>> >> >> and
>> >> >>
>> >> >> // disable cursor - false causes decrement, ShowCursor must be < 0
>> >> >> to
>> >> >> be
>> >> >> Off
>> >> >> while( ShowCursor(false) >= 0 );
>> >> >>
>> >> >> "Paul G. Tobey [eMVP]" wrote:
>> >> >>
>> >> >> > The display driver is what is responsible for the cursor. Maybe
>> >> >> > that's
>> >> >> > where the problem is...
>> >> >> >
>> >> >> > Paul T.
>> >> >> >
>> >> >> > "DaliborS" <DaliborS@discussions.microsoft.com> wrote in message
>> >> >> > news:03E98910-B400-4F53-8544-C25B38DA9E40@microsoft.com...
>> >> >> > > I'm trying to disable the system cursor as my system uses a
>> >> >> > > touch
>> >> >> > > screen
>> >> >> > > (ELO
>> >> >> > > Touch). I have removed all the mouse components (in Shell and
>> >> >> > > User
>> >> >> > > Interface,
>> >> >> > > and USB HID) except the one in Device Drivers-Keyboard/Mouse
>> >> >> > > English
>> >> >> > > which
>> >> >> > > has some critical dependencies. I know it was done in WinCE
>> >> >> > > 4.2,
>> >> >> > > but
>> >> >> > > cannot
>> >> >> > > achieve it in 6.0.
>> >> >> > >
>> >> >> > > Please advise,
>> >> >> > > Dalibor
>> >> >> >
>> >> >> >
>> >> >> >
>> >>
>> >>
>> >>
>>
>>
>>