Results 1 to 6 of 6

Thread: How to start ? Using MFC and OpenGL

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2001
    Location
    Singapore
    Posts
    28

    How to start ? Using MFC and OpenGL

    Hi all,

    If I want to build an application program which use the Microsoft Visual C++ as the GUI (MFC) how do I integrate it with my OpenGL program? How do I start it? any good references I can read on?

    For example, let say I want to build something like adobe photoshop, all the GUI I want it to be build using Visual C++ (including all the buttons etc) but for the screen (the editable graphic in photoshop) I want to use OpenGL.

    Hope anyone can help me on this or can suggest me any other better alternatives I have.

    regards,
    songeb

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2000
    Location
    Gastonia, NC, USA
    Posts
    2,068

    Re: How to start ? Using MFC and OpenGL

    There are lot's of good tutor sites for OpenGL out there and sites for writing Windows programs using the Windows API.

    cornflakezone
    nehe


    If you are wanting to use the Windows API for your menu and ICON control. Then it is best you start learning how to create that part of your program. Once you understand how to setup a Windows GUI. Then you move to creating a OpenGL window in which to draw on.

    The OpenGL window will be treated like a document, in your Windows API.

    If you do not want to be stuck with a program that will only run on a windows based system. You may want to use GLUT for creating your window GUI, since GLUT is supported on Linux and Mac.

    [This message has been edited by nexusone (edited 02-01-2002).]

    [This message has been edited by nexusone (edited 02-01-2002).]

    [This message has been edited by nexusone (edited 02-01-2002).]

    [This message has been edited by nexusone (edited 02-01-2002).]

  3. #3

    Re: How to start ? Using MFC and OpenGL

    Try my MFC & OpenGL website

    http://pws.prserv.net/mfcogl/

    or
    http://www.mfcogl.com/

  4. #4
    Member Contributor
    Join Date
    Jan 2002
    Posts
    96

    Re: How to start ? Using MFC and OpenGL

    I did this a while back, and J P's website is the one I found most useful.

    http://pws.prserv.net/mfcogl/

  5. #5
    Guest

    Re: How to start ? Using MFC and OpenGL


  6. #6
    Junior Member Newbie
    Join Date
    Dec 2001
    Location
    Singapore
    Posts
    28

    Re: How to start ? Using MFC and OpenGL

    Ok thanks to all, I found the website very useful.. I'll try to look into deeper of it.. thanks

    regards,

Similar Threads

  1. Where to start OpenGL?
    By anil92 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-12-2015, 02:10 PM
  2. Ada and OpenGL - How Do I Start?
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-03-2005, 01:24 AM
  3. Where to start opengl?
    By in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 10-17-2001, 04:19 AM
  4. Where should I start with openGL
    By in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 08-22-2001, 10:36 AM
  5. how to start with opengl
    By chetanrao in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 07-14-2000, 05:50 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