Archived

This topic is now archived and is closed to further replies.

edgecrusher

BitBlt and/or TransparentBlt

Recommended Posts

Is it possible to bitblt or transparentblt a picture onto the screen, even if the screen is in DirectX mode? I need to render a picture overtop of no matter whats on the screen, windows or D3D. Any suggestions?

Share this post


Link to post
Share on other sites
I''d use D3D, but if that''s all you''ll be using it for, GDI might be fast enough, and you won''t have to have all the D3D code cluttering things up. To do it with GDI, do something like

HDC hdc;
lpDDSBack->GetDC(&hdc);
BitBlt(/*stuff*/);
lpDDSBack->ReleaseDC(&hdc);


I haven''t used DDraw in a while, so I''m not sure if that''s exactly how getting and releasing DCs works, but you get the idea^^



-Deku-chan

DK Art (my site, which has little programming-related stuff on it, but you should go anyway^_^)

Share this post


Link to post
Share on other sites