Re: Wince 4.2 to wince 5.0 display driver migration

Tech-Archive recommends: Speed Up your PC by fixing your registry



There is something completely wrong with the shell of window ce 5.0, firstly
the spacing of icons changed from ce 4.2 to 5.0 as far as QVGA display is
concerned, applications that were running correctly on windows ce 4.2 also
run on windows ce 5.0 but the information that would fit on a screen before
doesn't on ce5.0.

Also some other odd behaviour is if in the control panel display is
selected, the background bitmap displayed is stretched to something 3 times
the size of that on the windows ce 4.2 hardware. Everything seems to be on
the windows ce 5.0 shell, icon spacing, bitmap displaying.

Any ideas would be appreciated.

Regards


"tweeeek" <tweeeek@xxxxxxxxxxxx> wrote in message
news:e7og4v$g8t$1$8302bc10@xxxxxxxxxxxxxxxxxxx
Having searched through previous posts, others have had similar issues and
have supplied solutions. It means using ListView_SetIconSpacing in
wceshellfe\oak\ctlpnl\control\control.cpp to sort out the icon alignment
in the controll panel, and modify as far as I can tell
shell\oak\hpc\ceshell\ui\shelllistview.cpp.

Not sure what has changed from wince 4.2 to wince 5.0 but icon spacing
has gone awry as far as QVGA display is concerned. Seems odd that public
code has to be modified to get around this issue.

Regards


"tweeeek" <tweeeek@xxxxxxxxxxxx> wrote in message
news:e7gpts$2tj$1$8302bc10@xxxxxxxxxxxxxxxxxxx
Well I've checked the device caps that we are returning are correct, I
have briefly looked through public\shell and nothing really obvious in
the code files that have changed since wince 4.2, shell.reg has changed a
little but nothing significant.
I can drag and place the icons wherever I want on the screen but
selecting refresh, or jumping out of the directory and back in again puts
all the icons into two columns.

Regards

"tweeeek" <tweeeek@xxxxxxxxxxxx> wrote in message
news:e7gglu$7o0$1$8302bc10@xxxxxxxxxxxxxxxxxxx
Thank you for all the advice, I am currently investigating this issue
and will post an update when I have a result.

Regards

"Dan McCarty" <dmccarty@xxxxxxxxx> wrote in message
news:1151011282.600278.108190@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Just as a shot in the dark, you might try double checking whether the
display information (e.g., 320x240) and device caps you're returning
are correct. It sounds like the shell thinks it's lining up icons for
a screen of a different size than what you have.

-Dan


tweeeek wrote:
Icons are all the correct colours and are not distorted in anyway,
simply
not aligning correctly when there are more icons that can fit on a
page,
this obviously pops up the scrollbar too.

Regards


"Valter Minute" <vminute@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:Xns97EA99C17EA00VALTERMINUTE@xxxxxxxxxxxxxxxx
"tweeeek" <tweeeek@xxxxxxxxxxxx> wrote in
news:e7e3qe$ih2$1$8300dec7@xxxxxxxxxxxxxxxx:

Thanks for the reply, not sure where to start in the shell, our
display is a 320x240 TFT QVGA and we are using the MediaQ 1132
graphics controller and the driver that they supplied. But as you
say the behaviour that I have observed points to the shell???????

You talked about some icon alignment problem, and the display driver
simply draw the icons, doesn't align or handle them in any other way.
If you have errors in icons drawing (wrong colors, distorted shapes
etc.) you should check the driver, if the icons are ok, they react to
mouse/touch clicks but they seem to be aligned in the wrong way you
should check the shell or the listview control code and you'll have
the
same behaviour also on other displays.


--
Valter Minute
(the reply address of this message is invalid)
(l'indirizzo di reply di questo messaggio non è valido)








.



Relevant Pages

  • Re: Name change
    ... and re-sizable and over-lapping windows ... ... On a 640x480 9" display with a mind-boggling 16 shades of grey, ... launcher, ... (application icons displayed on the dock often display information). ...
    (uk.people.support.depression)
  • MICROSOFT PLEASE READ THIS THREAD
    ... irritating to see large icons displayed in such a small window. ... > The folder display in Word's FileNew dialog is not affected by the Windows ... You can use VBA to display the FileNew dialog, ...
    (microsoft.public.word.pagelayout)
  • Re: Wince 4.2 to wince 5.0 display driver migration
    ... I've just seen this on a third party windows ce 5.0 hardware, ... 480*320 VGA type display. ... firstly the spacing of icons changed from ce 4.2 to 5.0 as far as QVGA ... graphics controller and the driver that they supplied. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Fixing up the windows registry
    ... How to perform of Windows XP ... many of the icons were missing. ... And whatever is missing from XP that is keeping ... It won't let me install anything. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Change icon and font size on the All Programs menu?
    ... General tab | Select Large icons or Small icons | Click OK | Click ... Start Menu Font. ... If you select a windows and buttons setting other than Windows Classic, ... of Display Properties, *NOT* Windows Classic theme on the Themes tab ...
    (microsoft.public.windowsxp.customize)