|
-
Oct 5th, 2001, 01:20 PM
#1
Thread Starter
Addicted Member
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.
-
Oct 5th, 2001, 07:41 PM
#2
Use straight memory DCs and API.
Z.
-
Oct 8th, 2001, 11:23 AM
#3
Thread Starter
Addicted Member
?
-
Oct 8th, 2001, 12:01 PM
#4
Good Ol' Platypus
Look at Fox's profile for a link to his website -- he has a good tutorial there that's about DCs.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|