Directx in a Panel control (C#)

Started by
0 comments, last by paulecoyote 19 years, 6 months ago
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#
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.
Anything posted is personal opinion which does not in anyway reflect or represent my employer. Any code and opinion is expressed “as is” and used at your own risk – it does not constitute a legal relationship of any kind.

This topic is closed to new replies.

Advertisement