PC Review


Reply
Thread Tools Rate Thread

bitmaps & listview & sp1

 
 
Panhuber Astrid
Guest
Posts: n/a
 
      3rd Mar 2004
hi!

I have an application with an listview. every item in this listview has one
of three possible bitmaps (16x16, 32bpp).

The application works ok. But if I install SP1 on my device, the bitmaps
have a wrong back color (black instead of white).

Is this a known problem? how to work around this problem? I can not make
sure, which SP my customers will install on their iPAQs.

astrid


 
Reply With Quote
 
 
 
 
Panhuber Astrid
Guest
Posts: n/a
 
      3rd Mar 2004
hi!

It's experience: You can not tell the customers, that the have to install
this SP, but must not install that SP or so. customers always do what they
want to do and then they cry out loud if something does not work as
expected...

astrid

"Kevin Hutchison" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> > I can not make sure, which SP my customers will install on their iPAQs.

> Why is that?
>
>
> "Panhuber Astrid" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > hi!
> >
> > I have an application with an listview. every item in this listview has

> one
> > of three possible bitmaps (16x16, 32bpp).
> >
> > The application works ok. But if I install SP1 on my device, the bitmaps
> > have a wrong back color (black instead of white).
> >
> > Is this a known problem? how to work around this problem? I can not make
> > sure, which SP my customers will install on their iPAQs.
> >
> > astrid
> >
> >

>
>



 
Reply With Quote
 
Kevin Hutchison
Guest
Posts: n/a
 
      3rd Mar 2004
> I can not make sure, which SP my customers will install on their iPAQs.
Why is that?


"Panhuber Astrid" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hi!
>
> I have an application with an listview. every item in this listview has

one
> of three possible bitmaps (16x16, 32bpp).
>
> The application works ok. But if I install SP1 on my device, the bitmaps
> have a wrong back color (black instead of white).
>
> Is this a known problem? how to work around this problem? I can not make
> sure, which SP my customers will install on their iPAQs.
>
> astrid
>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      3rd Mar 2004
Install SP2 with your app, then test against that.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


"Panhuber Astrid" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hi!
>
> It's experience: You can not tell the customers, that the have to install
> this SP, but must not install that SP or so. customers always do what they
> want to do and then they cry out loud if something does not work as
> expected...
>
> astrid
>
> "Kevin Hutchison" <(E-Mail Removed)> schrieb im Newsbeitrag
> news:(E-Mail Removed)...
> > > I can not make sure, which SP my customers will install on their

iPAQs.
> > Why is that?
> >
> >
> > "Panhuber Astrid" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > hi!
> > >
> > > I have an application with an listview. every item in this listview

has
> > one
> > > of three possible bitmaps (16x16, 32bpp).
> > >
> > > The application works ok. But if I install SP1 on my device, the

bitmaps
> > > have a wrong back color (black instead of white).
> > >
> > > Is this a known problem? how to work around this problem? I can not

make
> > > sure, which SP my customers will install on their iPAQs.
> > >
> > > astrid
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Alex Yakhnin [MVP]
Guest
Posts: n/a
 
      3rd Mar 2004
Yeah... It's known issue. I reported this problem a few months back

--
Alex Yakhnin .NET CF MVP
www.intelliprog.com | www.opennetcf.org

"Panhuber Astrid" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hi!
>
> I have an application with an listview. every item in this listview has

one
> of three possible bitmaps (16x16, 32bpp).
>
> The application works ok. But if I install SP1 on my device, the bitmaps
> have a wrong back color (black instead of white).
>
> Is this a known problem? how to work around this problem? I can not make
> sure, which SP my customers will install on their iPAQs.
>
> astrid
>
>



 
Reply With Quote
 
Panhuber Astrid
Guest
Posts: n/a
 
      3rd Mar 2004
hi!

It's the same problem with SP2!

astrid

"Chris Tacke, eMVP" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> Install SP2 with your app, then test against that.
>
> --
> Chris Tacke, eMVP
> Co-Founder and Advisory Board Member
> www.OpenNETCF.org
> ---
> Windows CE Product Manager
> Applied Data Systems
> www.applieddata.net
>
>
> "Panhuber Astrid" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > hi!
> >
> > It's experience: You can not tell the customers, that the have to

install
> > this SP, but must not install that SP or so. customers always do what

they
> > want to do and then they cry out loud if something does not work as
> > expected...
> >
> > astrid
> >
> > "Kevin Hutchison" <(E-Mail Removed)> schrieb im Newsbeitrag
> > news:(E-Mail Removed)...
> > > > I can not make sure, which SP my customers will install on their

> iPAQs.
> > > Why is that?
> > >
> > >
> > > "Panhuber Astrid" <(E-Mail Removed)> wrote in message
> > > news:(E-Mail Removed)...
> > > > hi!
> > > >
> > > > I have an application with an listview. every item in this listview

> has
> > > one
> > > > of three possible bitmaps (16x16, 32bpp).
> > > >
> > > > The application works ok. But if I install SP1 on my device, the

> bitmaps
> > > > have a wrong back color (black instead of white).
> > > >
> > > > Is this a known problem? how to work around this problem? I can not

> make
> > > > sure, which SP my customers will install on their iPAQs.
> > > >
> > > > astrid
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Serg Kuryata [MS]
Guest
Posts: n/a
 
      3rd Mar 2004
Hello Astrid,

The problem that you see is due to a bug in the Designer. Designer adds
icons to an ImageList as bitmaps instead of adding them as icons. Besides,
there was a change made in the ImageList class in SP1 in order to match
desktop's behavior. That change just revealed Designer's bug.

A workaround for this problem would be to add icons to the ImageList from
code. For example:

this.imageList1.Images.Add(new
Icon(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceSt
ream("Icon.ico"), 16, 16));

Hope this helps.
Thank you,
Sergiy.

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Panhuber Astrid" <(E-Mail Removed)>
| Subject: bitmaps & listview & sp1
| Date: Wed, 3 Mar 2004 14:53:48 +0100
| Lines: 14
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <(E-Mail Removed)>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: mail.timbatec.com 62.47.124.178
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.
phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:47529
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| hi!
|
| I have an application with an listview. every item in this listview has
one
| of three possible bitmaps (16x16, 32bpp).
|
| The application works ok. But if I install SP1 on my device, the bitmaps
| have a wrong back color (black instead of white).
|
| Is this a known problem? how to work around this problem? I can not make
| sure, which SP my customers will install on their iPAQs.
|
| astrid
|
|
|

 
Reply With Quote
 
Panhuber Astrid
Guest
Posts: n/a
 
      4th Mar 2004
hi!

thank you! this works!

thanks,
astrid

"Serg Kuryata [MS]" <(E-Mail Removed)> schrieb im Newsbeitrag
news:(E-Mail Removed)...
> Hello Astrid,
>
> The problem that you see is due to a bug in the Designer. Designer adds
> icons to an ImageList as bitmaps instead of adding them as icons. Besides,
> there was a change made in the ImageList class in SP1 in order to match
> desktop's behavior. That change just revealed Designer's bug.
>
> A workaround for this problem would be to add icons to the ImageList from
> code. For example:
>
> this.imageList1.Images.Add(new
>

Icon(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceSt
> ream("Icon.ico"), 16, 16));
>
> Hope this helps.
> Thank you,
> Sergiy.
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
> --------------------
> | From: "Panhuber Astrid" <(E-Mail Removed)>
> | Subject: bitmaps & listview & sp1
> | Date: Wed, 3 Mar 2004 14:53:48 +0100
> | Lines: 14
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> | Message-ID: <(E-Mail Removed)>
> | Newsgroups: microsoft.public.dotnet.framework.compactframework
> | NNTP-Posting-Host: mail.timbatec.com 62.47.124.178
> | Path:
>

cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.
> phx.gbl
> | Xref: cpmsftngxa06.phx.gbl
> microsoft.public.dotnet.framework.compactframework:47529
> | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
> |
> | hi!
> |
> | I have an application with an listview. every item in this listview has
> one
> | of three possible bitmaps (16x16, 32bpp).
> |
> | The application works ok. But if I install SP1 on my device, the bitmaps
> | have a wrong back color (black instead of white).
> |
> | Is this a known problem? how to work around this problem? I can not make
> | sure, which SP my customers will install on their iPAQs.
> |
> | astrid
> |
> |
> |
>





 
Reply With Quote
 
Serg Kuryata [MS]
Guest
Posts: n/a
 
      4th Mar 2004
Sure, no problem.

Thank you,
Sergiy.

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: "Panhuber Astrid" <(E-Mail Removed)>
| References: <(E-Mail Removed)>
<(E-Mail Removed)>
| Subject: Re: bitmaps & listview & sp1
| Date: Thu, 4 Mar 2004 08:40:03 +0100
| Lines: 71
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <(E-Mail Removed)>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: mail.timbatec.com 62.47.124.178
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:47619
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| hi!
|
| thank you! this works!
|
| thanks,
| astrid
|
| "Serg Kuryata [MS]" <(E-Mail Removed)> schrieb im Newsbeitrag
| news:(E-Mail Removed)...
| > Hello Astrid,
| >
| > The problem that you see is due to a bug in the Designer. Designer adds
| > icons to an ImageList as bitmaps instead of adding them as icons.
Besides,
| > there was a change made in the ImageList class in SP1 in order to match
| > desktop's behavior. That change just revealed Designer's bug.
| >
| > A workaround for this problem would be to add icons to the ImageList
from
| > code. For example:
| >
| > this.imageList1.Images.Add(new
| >
|
Icon(System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceSt
| > ream("Icon.ico"), 16, 16));
| >
| > Hope this helps.
| > Thank you,
| > Sergiy.
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| > --------------------
| > | From: "Panhuber Astrid" <(E-Mail Removed)>
| > | Subject: bitmaps & listview & sp1
| > | Date: Wed, 3 Mar 2004 14:53:48 +0100
| > | Lines: 14
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <(E-Mail Removed)>
| > | Newsgroups: microsoft.public.dotnet.framework.compactframework
| > | NNTP-Posting-Host: mail.timbatec.com 62.47.124.178
| > | Path:
| >
|
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.
| > phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl
| > microsoft.public.dotnet.framework.compactframework:47529
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
| > |
| > | hi!
| > |
| > | I have an application with an listview. every item in this listview
has
| > one
| > | of three possible bitmaps (16x16, 32bpp).
| > |
| > | The application works ok. But if I install SP1 on my device, the
bitmaps
| > | have a wrong back color (black instead of white).
| > |
| > | Is this a known problem? how to work around this problem? I can not
make
| > | sure, which SP my customers will install on their iPAQs.
| > |
| > | astrid
| > |
| > |
| > |
| >
|
|
|
|
|

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Listview: When does the newvalue become currentvalue after the listview.itemcheck event? Peter Microsoft VB .NET 0 24th Feb 2005 02:00 AM
ListView.ItemCheck event fires on ListView.Items.Insert =?Utf-8?B?RGV2ZWxvcGVy?= Microsoft Dot NET Framework Forms 0 14th Sep 2004 03:21 AM
I need a Listview like the one in the inbox, or a Listview + treeview like the one present in emule Juan Pedro Gonzalez Microsoft Dot NET Compact Framework 3 4th May 2004 11:51 PM
Listview Item.Selected not populating Listview.SelectedItems collection Chris Adams Microsoft Dot NET Framework Forms 0 23rd Apr 2004 01:30 AM
RE: ListView - images disappear after coming back from another form with a ListView Armin Sadeghi [MSFT] Microsoft Dot NET Compact Framework 0 5th Sep 2003 11:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:16 AM.