sp 2 problem on WinCE device

T

Tony Rasa

Hello all,

I've got a ViewSonic V205 "Web Pad" running WinCE .NET 4.2. When the
device is switched on at a "baseline" level, it has the .net compact
framework sp1 installed.

I've installed sp2 via the activesync installer, everything *seems* to
work fine -- no errors or anything unusual.

I've got the trivial winform cf app, a form with a button, and I'm
setting the back color of the button in the form's constructor to
Color.Green. The button_click event shows the value from
System.Environment.Version.ToString().

The value reported back is "1.0.3316.0", everything good there, BUT
the BackColor property is ignored, along with the buttons mouse events
(mousedown & mouseup, which I think were both added with sp2). How
can this be!?

I've tried re-installing to different directories and even copying
DLLs to the programs directory, but nothing seems to make any
difference -- sp2 appears to be installed and running, but without any
of the sp2 enhancements.

Any suggestions on what I could try or examine next? Could the fact
that this device has CF sp1 "burned in" at the factory be causing the
problem here?

thanks for any advice you could lend...

Tony Rasa
MeanCat Technologies
(e-mail address removed)
 
E

Elisa

Hi Tony,
The value reported back is "1.0.3316.0", everything good there, BUT
the BackColor property is ignored, along with the buttons mouse events
(mousedown & mouseup, which I think were both added with sp2).

I tried changing the BackColor property of a standard button, and that
seems to work just fine. As far as I can remember, the standard button
doesn't fire MouseDown and MouseUp events.

Try using the ButtonEx control in the OpenNet.CF library. It's not a
perfect replacement (moving the mouse/stylus while the button is pressed
down behaves differently), but will do fine in most cases. It's best to
replace ALL standard buttons with the ButtonEx control, so your GUI
looks consistent (or fix the incomplete MouseDown/MouseMove behaviour of
the ButtonEx control, it's rather easy to do).


Regards,

Elisa
 
C

Chris Tacke, eMVP

If you've got a fix, by all means submit it to us.

(e-mail address removed)
 
T

Tony Rasa

Elisa said:
Try using the ButtonEx control in the OpenNet.CF library.


Ok, I'll look into that for the MouseUp/Down events -- I must have
imagined that those events were implemented in sp2, although after
looking closely its obvious that they were never there...too many long
nights I guess.


Still can't figure out why the Backcolor property isn't working
though...i guess it won't matter if I switch to a different library.

thanks for your help!

Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top