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:

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