-
Hello,
I'm developing an OCX like an IE button.
How can I turn the image of the PictureBox into GreyScale (like a disabled button)?
Is there any Windows API to do this?
I know about changing each bit of the picture by a grey bit, but I think its a very slow solution.
Some ideas?
Thanks a lot.
Michel Jr.
-
Actually that solution works pretty fast. All you have
to do is use then For loop to for the X axis, and put another For loop in there for the X axis, then
use the GetPixel and SetPixel API. you could do it in
about 7-10 lines of code I think.