Hi,
I am developing a project on C# and add reference DLL that I coded using
C++/CLI. The DLL runs correctly it opens a window and loads the models but I
don't want this window to open. I want to insert this view in my C# windows
form as a panel control. How can I perform this action?
Thank
Tufan,
Read this:
http://www.openscenegraph.org/projects/osg/wiki/Support/FAQ#HowdoIembedanOSGviewerina.NETcontrol
The control variable is the C# control within which to embed the OSG
viewer, typically a Panel.
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
+1.703.652.4791
On
I saw that sample but how can I send my control from C# to C++/CLI
Cheers,
Tufan
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22345#22345
___
osg-users mailing list
Hi,
I try that sample but I get lots of error.
Error 1 error C3083: 'GraphicsWindowWin32': the symbol to the left of a
'::' must be a type
c:\Users\Tufan\Desktop\OpenSceneGraphLibrary\OpenSceneGraphLibrary\OpenSceneGraphLibrary.cpp
42 OpenSceneGraphLibrary
Error 2
Tufan,
I would probably derive a custom C++/CLI control (from UserControl) and then
reference this custom control in your C# UI. That way you have a nice .NET
control wrapping the OSG viewer.
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :
+1.703.652.4791
On Sun, Jan 10, 2010 at
Hi,
Thanks for the advice but what about the crash? I want to load the scene in the
first step and then push a button to set the manipulator. But when I push the
button the program crashes. And how can I load the model on the scene without
any manipulator and then add the manipulator by
6 matches
Mail list logo