CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2002
    Posts
    67

    Need Help with OpenGL with C#

    Hello,

    I am using CSGL in C#, I study most of the sample codes provided by csgl, but I wonder if anyone call tell me how to open a OpenGL in a particular Control Unit? For example, I use tab control to create 3 tabs. And I need to dram some polygons on the "picture box" (or other contorls, such as the panel, or else) located on second tab. How can I specify the OpenGL window is on the control unit of the second tab?

    Or anyone has any sample codes for this problem?

    Thanks,

  2. #2
    Join Date
    May 2009
    Posts
    9

    Re: Need Help with OpenGL with C#

    http://csgl.sourceforge.net/faq.html#vsnet
    How to use with Visual Studio .NET?
    Well if you install it (in <csgl>/libinstall there is an instalable version with an install.bat) you could add it in your toolbox in VS.NET and it work just fine !...

    I did not try this but if you are working in visual studio this way you can add it to your toolbox.

  3. #3
    Join Date
    Jan 2002
    Posts
    67

    Re: Need Help with OpenGL with C#

    Quote :"How to use with Visual Studio .NET?"

    No, this is NOT my question at all. I know how to use CSGL in VS.

    I did mean how to open a OpenGL window on top of the Visual Studio Control Unit (such as a Pictual Box or a Panel)?

    My question is:
    "I use tab control to create 3 tabs. And I need to dram some polygons on the "picture box" (or other contorls, such as the panel, or else) located on second tab. How can I specify the OpenGL window is on the control unit of the second tab?"

    Thanks for any helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured