Image display problem on PPC 2003

  • Thread starter Thread starter Tim
  • Start date Start date
T

Tim

Images (.png) in a PictureBox that are normally transparent on a PPC 2002
device are displaying with a black background on my PPC 2003 device. Any
ideas as to what may be going on and how to get them to display correctly?

Same results when embedding the image directly into the PictureBox in the
desiger or when using code - ex:
this.pbOK.Image = ((System.Drawing.Image)(resources.GetObject("OK.Image")));

Thanks,

Tim
 
Have you tried calling MakeTransparent on the Bitmap before setting it as
the image of the PictureBox?
Aldo

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| NNTP-Posting-Date: Thu, 08 Jan 2004 14:45:54 -0600
| From: "Tim" <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Subject: Image display problem on PPC 2003
| Date: Thu, 8 Jan 2004 14:44:40 -0600
| 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: <[email protected]>
| Lines: 13
| NNTP-Posting-Host: 207.207.51.92
| X-Trace:
sv3-NDvYcu+zgeMaxnqDeyWg+8Vlq3FskSMsQSBRB2nkMWBL8sMnSFMyEQ8liv19W05rW2kXm1ll
+D+tzv1!VjhKYOb3SQ9vD/nTLEFch6Wz+zGKcL5NKMz/cin2mND/q1UJ0Hal3F8/Y0HxxFC/a2EA
OKt1DDmG!Th89saRXV2y/ip6lgvHw
| X-Complaints-To: (e-mail address removed)
| X-DMCA-Complaints-To: (e-mail address removed)
| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
complaint properly
| X-Postfilter: 1.1
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.su
l.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!ne
wsfeed.frii.net!newsfeed.frii.net!140.99.99.194.MISMATCH!newsfeed1.easynews.
com!easynews.com!easynews!small1.nntp.aus1.giganews.com!border3.nntp.aus1.gi
ganews.com!intern1.nntp.aus1.giganews.com!nntp.giganews.com!nntp.speakeasy.n
et!news.speakeasy.net.POSTED!not-for-mail
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:42499
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Images (.png) in a PictureBox that are normally transparent on a PPC 2002
| device are displaying with a black background on my PPC 2003 device. Any
| ideas as to what may be going on and how to get them to display correctly?
|
| Same results when embedding the image directly into the PictureBox in the
| desiger or when using code - ex:
| this.pbOK.Image =
((System.Drawing.Image)(resources.GetObject("OK.Image")));
|
| Thanks,
|
| Tim
|
|
|
 
Back
Top