Jump to content
  • Advertisement
Sign in to follow this  
auschunky

Mixing DirectX and windows forms/controls

This topic is 4492 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 am working on an application that requires directx for drawing but also has quite a bit of GUI (not quite a traditional game). Due to the amount of GUI involved I want to use windows forms and controls with a panel that a directx device renders to for the drawing. I also need the app to be fullscreen. I am working in visual studio 2005 .net I have managed to make a fullscreen form that contains windows controls (doing little more than creating a fullscreen device). I have also managed to make a windowed form (the same form as above but windowed) with a second device that renders to a panel inside the form. What I need is this second device rendering to the panel when the form is in fullscreen mode, but the device initialization always fails. So a true fullscreen directx controlled windows form is possible, and a directx controlled windowed form with a directx controlled panel is possible, but is a combination of the two possible? Thanks for your time Andrew

Share this post


Link to post
Share on other sites
Advertisement
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!