Archived

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

evillive2

using GDI in DDraw full screen mode

Recommended Posts

This kind of relates to an earlier post someone had about using a flip chain between offscreen surfaces as opposed to blitting the backbuffer to the frontbuffer, but I will make it brief. I am under the impression that in order for me to be able to see for example a windows dialog box while in full screen mode, among other things, I have to blit the backbuffer to the frontbuffer instead of flip. Am I totally misinformed? or is there a workaround I am missing? [edit] heres the link to the other post I mentioned above by JonWoyame http://www.gamedev.net/community/forums/topic.asp?topic_id=134286 its just about the benefits of flipping instead of blitting [/edit] [edited by - evillive2 on January 18, 2003 2:32:37 AM]

Share this post


Link to post
Share on other sites
Well it depends what DX you''re using.

I think its something like

lpBackBuffer->GetDC(&xdc);
and
lpBackBuffer->ReleaseDC(xdc);

if you want to draw with GDI to the backbuffer before you flip it or if you just want to display a dialog you can

lpBackBuffer->FlipToGDI();

but dont quote me on this. Look it up in the help of whatever DX you''re using.

Share this post


Link to post
Share on other sites