Jump to content
  • Advertisement
Sign in to follow this  
bourdett

using OpenDialog with Directx 9.0 freezes program

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

I'm just starting to learn directx and I have made a window that draws something in directx, but I use mouseDown event so that when the mouse is clicked inside the form i want it to bring up an openFileDialog box. I used .net control for that. It works ok the first time but the second time it totally freezes the program. Can i use .net controls like openDialog with in a directx app? Jason

Share this post


Link to post
Share on other sites
Advertisement
I bet when the window lost focus you lost your D3D device. That's certainly a pain but it can be dealt with. Look around for tutorials on lost devices and read the docs on IDirect3DDevice9::Reset()

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!