Jump to content
  • Advertisement


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


MFC + AltTab +DirectX

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

Is there a callback function in MFC that I can intercept when user AltTab in/out the program? Same old problem with the DirectX surface lost. Currently I have a check for the surface lost and then restoresall but the speed of graphics return is very slow alt-tabing back in. So, I''m trying to save a BufferImage to Sram when the user AltTabs out the game then restore the Sram Image back to the Buffer when AltTab back in hoping that would speed up everything. I know how to do this in win32 apps but MFC... I have no clue. Please help.

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!