Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. OpenGl and SDI Application

OpenGl and SDI Application

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialcsharpgraphicsgame-dev
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    godspeed123
    wrote on last edited by
    #1

    Hi I am writing a OpenGL Application and I want to put it into a SDI Application with Visual C++ .NET 2003. I have used a tutorial on code guru to get the SDI kind of working, but I cant figure out how to resize the openGL window when the SDI window is being resized. I have placed my whole openGL SDI application on http://www.ece.ubc.ca/~npatel/OpenGL/OpenGLTest.rar Any help would be greatly appreciated. Thanks

    C R 2 Replies Last reply
    0
    • G godspeed123

      Hi I am writing a OpenGL Application and I want to put it into a SDI Application with Visual C++ .NET 2003. I have used a tutorial on code guru to get the SDI kind of working, but I cant figure out how to resize the openGL window when the SDI window is being resized. I have placed my whole openGL SDI application on http://www.ece.ubc.ca/~npatel/OpenGL/OpenGLTest.rar Any help would be greatly appreciated. Thanks

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      Can you post some relevant code snippet ? Where do you put the openGL stuff ? In a control, on a view, ... ? If that's the case, you just have to resize this control.


      Cédric Moonen Software developer
      Charting control [v1.2]

      G 1 Reply Last reply
      0
      • C Cedric Moonen

        Can you post some relevant code snippet ? Where do you put the openGL stuff ? In a control, on a view, ... ? If that's the case, you just have to resize this control.


        Cédric Moonen Software developer
        Charting control [v1.2]

        G Offline
        G Offline
        godspeed123
        wrote on last edited by
        #3

        You can download the whole project from the link I provided.

        C 1 Reply Last reply
        0
        • G godspeed123

          You can download the whole project from the link I provided.

          C Offline
          C Offline
          Cedric Moonen
          wrote on last edited by
          #4
          1. I don't have winrar installed on my computer (I'm at work) 2) I don't really want to dig into your code trying to understand what you did without any explanation. You should be able to provide some relevant code snippet and explain clearly your problem. That's already a big step in understanding your problem and trying to solve it. Remember that people here have limited time and are not getting paid.

          Cédric Moonen Software developer
          Charting control [v1.2]

          1 Reply Last reply
          0
          • G godspeed123

            Hi I am writing a OpenGL Application and I want to put it into a SDI Application with Visual C++ .NET 2003. I have used a tutorial on code guru to get the SDI kind of working, but I cant figure out how to resize the openGL window when the SDI window is being resized. I have placed my whole openGL SDI application on http://www.ece.ubc.ca/~npatel/OpenGL/OpenGLTest.rar Any help would be greatly appreciated. Thanks

            R Offline
            R Offline
            Russell
            wrote on last edited by
            #5

            you can start from here[^] (it is a very simple example) or you can find the example you prefere here http://www.codeproject.com/opengl/[^] :-D:-D


            Russell

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups