BitBlt using an IPictureDisp (PictureBox.Picture)
Hi,
Is that possible? To use an IPictureDisp object to draw its contents using BitBlt?
I tried BitBlt'ing using the object's "Handle" property, but BitBlt fails, and GetLastError returns 0.
The only workaround I found is to render the IPictureDisp object on a temp PictureBox and then using that PictureBox' hDC property... But my program doesn't have an user interface, and I don't want to include a form just to have the temp PB.
Any help is appreciated.