0

I am programming in windows visual C++, and I am trying to make a specific color transparent. I have asked this question before but all I got was answer including C code, not C++/CLI. P.s This is a windows form application... I think the previous code I received as an answer was similar to this.

Color pixelColor = myBitmap.GetPixel(1, 1);

but that is C code... not C++/CLI. How do you make a PictureBoxes image have a transparent color in it?

4

1 回答 1

0

您必须处理图片本身(System::Drawing::ImageSystem::Drawing::Bitmap),而不是显示它的 Windows 窗体组件。

于 2013-05-29T09:40:41.083 回答