Re: Wince 4.2 to wince 5.0 display driver migration
- From: "tweeeek" <tweeeek@xxxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 17:04:47 +0100
I've just seen this (see below) on a third party windows ce 5.0 hardware,
they are using different display and driver to us, they don't see the icons
lining up into to columns because they are not using a QVGA, the are using a
480*320 VGA type display.
<snip>
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.
<snip>
Regards
"Dean Ramsier" <ramsiernospam@xxxxxxxxxx> wrote in message
news:%23TexKJrmGHA.1912@xxxxxxxxxxxxxxxxxxxxxxx
I have never noticed this kind of problem...
--
Dean Ramsier - eMVP
BSQUARE Corporation
"tweeeek" <tweeeek@xxxxxxxxxxxx> wrote in message
news:e7tmrl$nvh$1$8300dec7@xxxxxxxxxxxxxxxxxxx
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)
.
- References:
- Wince 4.2 to wince 5.0 display driver migration
- From: tweeeek
- Re: Wince 4.2 to wince 5.0 display driver migration
- From: Valter Minute
- Re: Wince 4.2 to wince 5.0 display driver migration
- From: tweeeek
- Re: Wince 4.2 to wince 5.0 display driver migration
- From: Valter Minute
- Re: Wince 4.2 to wince 5.0 display driver migration
- From: tweeeek
- Re: Wince 4.2 to wince 5.0 display driver migration
- From: Dan McCarty
- Re: Wince 4.2 to wince 5.0 display driver migration
- From: tweeeek
- Re: Wince 4.2 to wince 5.0 display driver migration
- From: tweeeek
- Re: Wince 4.2 to wince 5.0 display driver migration
- From: tweeeek
- Re: Wince 4.2 to wince 5.0 display driver migration
- From: tweeeek
- Re: Wince 4.2 to wince 5.0 display driver migration
- From: Dean Ramsier
- Wince 4.2 to wince 5.0 display driver migration
- Prev by Date: Re: PXA27x GPIO Interrupt
- Next by Date: How to delvelop Power Off(=Shut Down) IN WinCE5.0(x86)
- Previous by thread: Re: Wince 4.2 to wince 5.0 display driver migration
- Next by thread: Re: Direct3D InvalidDeviceException
- Index(es):
Relevant Pages
|