Jump to content
  • Advertisement
Sign in to follow this  
kuyawsadabaw

Directx in a Panel control (C#)

This topic is 4994 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've tried setting up directx to be rendered in panel control. When I do that, everything else (controls, form) aren't repainted. I do the BeginScene(); Render(); EndScene(); deal in the overide-ed OnPaint() Can anyone show me the right way of doing this? I want to use other controls for my form and just use the directx device to display results. I'm using C#

Share this post


Link to post
Share on other sites
Advertisement
Look in the DirectX documentation examples - some of them run in a window with a menu bar. If I recall correctly the billboarding example even has form controls on it too.

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!