View Full Version : print my graphic created in visual c++ 6.0

09-06-2002, 12:00 PM
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.


09-06-2002, 12:07 PM
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 www.codeguru.com. (http://www.codeguru.com.) They have lots of MFC info.