Quote Originally Posted by joaquim View Post
confuse... i don't know IPictureDisp object.
"I really don't see any reason why you'd want to use a DIB. Per-pixel calculations are comparatively slow."
i know, but i'm finish these code, then i will convert it
Form.Image, Form.Picture, PictureBox.Image, PictureBox.Picture, UserControl.Image, PropertyPage.Image, UserDocument.Image, etc. These are all IPictureDisp objects.

IPictureDisp is a class. Its members include: Handle, Height, hPal, Render(method), Type, and Width.

GDI+ facilitates loading a 32 bpp image file(like PNG) such that AlphaBlend can immediately be used on the resulting dc/bitmap. Meaning you don't need any DIBs, and performance will be much better.