Problem about FULLSCREEN????

Started by
0 comments, last by 88er 20 years, 12 months ago
I run my program with FullScreen mode, but if i switch other program by ALT+TAB, it will show nothing but dark when switch back. I found the D3DSample is normal when switch by Alt+Tab. I hope you can tell me where i shoud amend in my code. thank you.
Advertisement
You have to restore your device objects whenever the objects are lost by, e.g., switching between full/windowed modes. Check out the sdk for RestoreDevice. Lots of info in there for you.

Learning to fly is easy, but as a tortoise, the landings are really rough.
Always prey on the weak, the timid and the stupid. Otherwise you'll just get your butt kicked
For a tortoise, this is extremely hard to do, but when you get it right... the expression on their faces ...

This topic is closed to new replies.

Advertisement