print my graphic created in visual c++ 6.0

I am using Visual studio 6.0 and within that c++ 6.0 and creating a mfc exe with a single document interface.
I use the paint method to output
a graphic (say a simple ellipse). How do I print out the displayed ellipse
to my printer? I’d like the simplest way
to do this.


Your question really has nothing to do with OpenGL. You should read the documentation on how to use CDCs in MFC. If I remember correctly, you just have to do some conversions from the screen CDC to a printer CDC. Try searching the forums at They have lots of MFC info.