Here's what i have:
---------------------------------------------------
this.BackColor = Color.Wheat;
this.gameBackgroundBMP = new
Bitmap(GetType(),"MyForm.backGround.bmp");
this.BackgroundImage = (System.Drawing.Image)gameBackgroundBMP;
this.foo = new Bitmap(GetType(),"MyForm.combatant.bmp");
System.Drawing.Color backColor = foo.GetPixel(1,1);
this.foo.MakeTransparent(backColor);
this.combatant = new System.Windows.Forms.PictureBox();
this.combatant.Image = (System.Drawing.Image)foo;
---------------------------------------------------
The problem is that the combatant.bmp *is* transparent, but i see
Color.Wheat, not the this.BackgroundImage.
Am I doing something fundamentally wrong here?
thanks in advance,
-alex-
--
Bob Powell [MVP]
C#, System.Drawing
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
Read my Blog at http://bobpowelldotnet.blogspot.com
"Alex Gray" <gra...@netscape.net> wrote in message
news:50347d7a.04012...@posting.google.com...
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message news:<OAvMj3Z...@TK2MSFTNGP12.phx.gbl>...