0

I am using PNG type image with transparent background in picturebox control with stretch Mode in Windows CE. But in pocket pc device it shows wrong behaviour. I provide its screen shot below: enter image description here

How can I resolve it?

NASSER
  • 5,900
  • 7
  • 38
  • 57

2 Answers2

1

looks to me like you have used an alpha type png RGBA, which is not displayable by your code and its converted to RGB so just displays your background colour as one rectangle. Greg.

1

As you've discovered, ARGB transparency isn't supported in the CF. You need to change your image and then use ColorKey transparency. See the answers to this question for more links.

Community
  • 1
  • 1
ctacke
  • 66,480
  • 18
  • 94
  • 155