[.net] Rendering to part of a Form

Started by
2 comments, last by ernow 18 years, 8 months ago
I'm currently creating a map editor program for my current project, and I'm trying to figure out how I render to a portion of the map editor's Windows Form using Managed DirectX. If some one who has knowledge of the theory behind how this is done, their advice would be greatly appreciated.
Advertisement
Instead of rendering to the form, put a PictureBox where you want the rendered screen to be. Then when you create your device pass the handle of the PictureBox instead of the form. When you render with that device it will draw directly into the PictureBox.
Turring Machines are better than C++ any day ^_~
Rating++.
A picturebox might be overkill you could use a panel...

Cheers

This topic is closed to new replies.

Advertisement