Sign in to follow this  

[.net] wpf on top of of directx context not possible

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

Maybe this is common knowledge, but i didn't know about it. As of right now using WPF and DirectX together is pretty much useless for game development. The main usage of WPF is of course for in game gui's and not being able to place them over top a DirectX context kinda kills that. Here is a photo of the result when you combine a WPF and MDX sample. The DirectX context is blue. The top-right box is WPF. Everything else is forms. http://www.z425.com/filebrowser/index.php?fpp=10&did=0&fid=9 As you can see the window background image just shows through the DirectX context. If anyone knows a good work-around (maybe involving a render target), I'd really like to know about it.

Share this post


Link to post
Share on other sites

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