BitBlt and/or TransparentBlt

Started by
1 comment, last by edgecrusher 22 years, 12 months ago
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?
Advertisement
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^_^)
Looks like you want overlays. They are part of DirectDraw 7. I don''t have much more info about them.

Steve ''Sly'' Williams  Code Monkey  Krome Studios
Steve 'Sly' Williams  Monkey Wrangler  Krome Studios
turbo game development with Borland compilers

This topic is closed to new replies.

Advertisement