Jump to content
  • Advertisement

Archived

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

evillive2

using GDI in DDraw full screen mode

This topic is 5728 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!