dordTransparent background

N

New_at_CF

I know that win ce does not support transparency...

When I display an image (*.png) transparent section is black, but on
other pda is yellow...

Is it possible to what color would this be?

regards!
 
C

Christopher Fairbairn

Hi,

New_at_CF said:
When I display an image (*.png) transparent section is black, but on
other pda is yellow...

Depending upon how you are drawing your transparent PNG the black or
yellow regions are most likely the default (potentially random) contents
of your graphics context.

Before you draw your PNGs try calling the Clear() method on your
Graphics context. This should allow you to specify the background colour
that will show behind the PNG.

Hope this helps,
Christopher Fairbairn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top