PDA

View Full Version : Glut window inside C# form



EthanHunt
04-21-2011, 06:38 AM
I have C++ dll that using Glut. And C# application that call method from dll. When i run application i have two forms - C# form and Glut form. What should I do to create Glut form inside C# form.

Stephen A
05-03-2011, 02:49 PM
Glut creates a toplevel window. You need to turn this into a child window and set the C# form as its parent.

MSDN has more details on the process.