opengl using vc++

hello,
is that only SDI can be used for opengl ?

i am using a dialog based interface and i have created a menu in it.

when i clik on one of the menu item named “view” i want a window to come which will be having 3D graphics.

so what is code for using opengl in dialog based interface.

i have gone through various tutorials given in opengl.org but didn’t get many giving opengl using vc++. dev central gave using opengl in SDI.
but can anyone suggest me some good sites where i can get matter regarding opengl using vc++…

thanx in advance
sunil.

Lot’s of people use opengl with the Windows API and VC++.

nehe.gamedev.net has tutors on using openGL with VC++ and window setup.

Originally posted by sunil1pm:
[b]hello,
is that only SDI can be used for opengl ?

i am using a dialog based interface and i have created a menu in it.

when i clik on one of the menu item named “view” i want a window to come which will be having 3D graphics.

so what is code for using opengl in dialog based interface.

i have gone through various tutorials given in opengl.org but didn’t get many giving opengl using vc++. dev central gave using opengl in SDI.
but can anyone suggest me some good sites where i can get matter regarding opengl using vc++…

thanx in advance
sunil.[/b]

thanx a lot…

www.mfcogl.org