opengl in SDI?

i have a SDI application. can opengl be incorporated into it? as in can i code my graphics in any part of SDI, whether it is in dialog cpp …etc?

Why don’t you look into the tutorial section of this web site:
http://www.opengl.org/developers/code/tutorials.html

In lesson #1 on the NeHe site you will find some C++ code. He does not use MFC, however.