Sign in to follow this  

using OpenDialog with Directx 9.0 freezes program

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

This topic is 4857 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this