Sign in to follow this  
kuyawsadabaw

Directx in a Panel control (C#)

Recommended Posts

kuyawsadabaw    122
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
paulecoyote    1065
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

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