initializing openGL window

I made a project in App wizard which was dialog based, now i need to add openGL simulation in it. I could not initialize openGL window in that dialog based project. Help me PLZ any one.

This is an advanced forum here…
You should read & search a bit more and post such questions into the beginers forum.
Anyhow you should also have noticed that there is a section called OpenGL toolkits like : GLFW, GLUT and so on…
This is what you’re looking for.