Jump to content
  • Advertisement
Sign in to follow this  
gamezo

Ctrl-Alt+Delete

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

Hi people. I can't seem to find the answer to my worries anywhere, so I thought I'd just come to the source of all knowledge here and ask you. My question is ... I'm using DirectX of course .... I have the window redrawing my scene just fine, except when I push ctrl-alt delete to get the the task manager, it draws over my screen and then I can't get it to redraw what I want in my window. I'm on a windows xp system, and the fact that the windows security window comes up, which takes over the screen until you choose whether you wanna lock computer, log off, open task manager .... etc. I hope you get the jist of my problem. Does anyone have any ideas which messages I should be handing, or where am I supposed to tell my program to redraw itself? Thank you in advance for any assistance.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
i don't know all the details but i think you have to re-initialize all the display properties with direct x

Share this post


Link to post
Share on other sites
thanks a bunch. I wasn't handling the WM_ACTIVATEAPP message. now I have a new problem, when I try to create a device, it returns D3DERR_NOTAVAILABLE. Any ideas on why this would be happening? thanks again. well ... I'm gonno go work on this ... see ya

Share this post


Link to post
Share on other sites
You dont have to re-create the device, you only have to Reset() it. Read the documentation.

It is recommended that you check the Device status by calling TestCooperativeLevel() before entering the render cycle, that way if your device is lost you may try recovery of device and resources before rendering.

Luck!
Guimo

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!