Jump to content
  • Advertisement
Sign in to follow this  
Trecius Veil

DirectX, GDI+, and double buffering

This topic is 4004 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

Hello, all: I've a question regarding DirectX and GDI+. I have created a scene that the user can move around in -- much like Halo or any other FPS. This, of course, was created using DirectX. I have also created a radar in the top-right corner of the window; this radar was created using GDI+. When the window is relatively small, there is no flickering issues with the radar. However, when the window is enlarged, the flickering of the radar becomes a problem. As such, I'd like to incorporate double buffering for GDI+, so the radar does not flicker. I've tried to make my window double buffered using the BufferedGraphicsContext and BufferedGraphics for GDI+. However, if I double buffer the window, the scene rendered by DirectX is missing. Any clues as how to mix DirectX and GDI+ so that the GDI+ is double buffered? Thank you, all. Trecius

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • 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!