BitBlt and/or TransparentBlt
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?
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
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^_^)
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 Code Monkey Krome Studios
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement