• Advertisement


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

MFC + AltTab +DirectX

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