Results 1 to 4 of 4

Thread: OpenGL-window from a C++.net Dialog

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2005
    Location
    Berlin
    Posts
    3

    OpenGL-window from a C++.net Dialog

    Hello everyone,
    as you can see in the title, I'm trying to open an OpenGL-window from an C++.net Dialog.
    Later I want the user to give some Information in this Dialog, (e.g. a length) an after pressing a button, he will see a line in the OpenGL-window, with this length (thats not the final goal but if this small step would work it would help me a lot.. )
    Can you help me pls??

  2. #2
    Junior Member Newbie
    Join Date
    Mar 2005
    Location
    Berlin
    Posts
    3

    Re: OpenGL-window from a C++.net Dialog

    noone got an idea?!
    Or don't you understand what I'm trying to do?
    If so, please ask!!! I'll try to make it more clearly!!

  3. #3
    Guest

    Re: OpenGL-window from a C++.net Dialog

    What's the problem you are having?
    Are you having trouble initializing GL?

  4. #4
    Junior Member Newbie
    Join Date
    Mar 2005
    Location
    Berlin
    Posts
    3

    Re: OpenGL-window from a C++.net Dialog

    Not excactly..
    I've got an example code from the nehe-Site, which opens an OpenGL-window from C++.net. This programm needs the gl.h, glu.h and windows.h-Header.
    My programms creates a windows forms Dialog. Therefor I need to use the System::Windows::Forms namespace and some others. These namespaces seem to cause trouble with the windows.h-header (some declerations were given twice..) If I leave the windows-header out, I cannot include the gl.h and glu.h...
    So I was looking for some example-code, where someone has solved these difficulties, to find an idea how it could work..
    Can you help?

Similar Threads

  1. Replies: 0
    Last Post: 03-08-2005, 07:12 PM
  2. OpenGL Dialog Box?
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 11-25-2001, 02:27 PM
  3. Replies: 1
    Last Post: 08-19-2001, 04:38 PM
  4. Paint OpenGL in a dialog window?
    By nix in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 03-26-2001, 09:31 AM
  5. opengl window in a dialog box
    By birju in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 08-16-2000, 11:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean