Sign in to follow this  

DirectX, GDI+, and double buffering

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

This topic is 3661 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this