Using MFC-GUI in OpenGL

Using MFC-GUI in OpenGL

Post by Michae » Tue, 01 Oct 2002 07:08:33



Hi everybody !

I've just started to learn OpenGL,
and i wondered about drawing MFC-GUI in a OpenGL-Context.

I know that this is quite simple with DirectX,
does anyone know how to achieve this with opengl?

Maybe a little hint or a link to the information
is greatly appreciated !

Thanks in advance,

Michael

 
 
 

Using MFC-GUI in OpenGL

Post by JP » Tue, 01 Oct 2002 12:02:48


Try

http://www.mfcogl.com/


Quote:> Hi everybody !

> I've just started to learn OpenGL,
> and i wondered about drawing MFC-GUI in a OpenGL-Context.

> I know that this is quite simple with DirectX,
> does anyone know how to achieve this with opengl?

> Maybe a little hint or a link to the information
> is greatly appreciated !

> Thanks in advance,

> Michael


 
 
 

1. opengl crash on nt2000 VC 6.0 MFC MDI app using spliiterWnds

I have a VC++ 6.0 MFC app with MDI interface and splitterWnds in the MDI
Views. in one of the (plit)views I have a OpenGL-enabled View (with pretty
much the same structure as shown in the OpenGL SuperBible book, chapter 21),
all the views using only GDI. While this program ran fine in NT 4.0, on 2000
it crashes on windows creation or destruction (but not consistently). In
debug mode though it consistently crashed in the opengl enabled views
OnDestroy member in a call to wglDeleteContext( m_hGLContext );

I have looked through the msdn bug database, and though there are severla
issues with opengl and mdi, I couldnt see anything to di with this one.

Anyone has similar problem, suggestions, or better yet a solution ?

Thanks

2. backgroundpicture??

3. make opengl work with mfc using a single document

4. animation for pc

5. making opengl work with mfc (sdi - not using document/view )

6. Bulk rotation of files

7. Problem with OpenGL selection mode under MS Win using MFC

8. NOVAJET PRO 50

9. Using OpenGL on an MFC Common Control

10. Using OpenGL with MFC

11. Using OpenGL and and MFC graphics as two separate views

12. Problems with a MFC program using OpenGL optimizer 1.1

13. Help with printing using OpenGL/MFC