Click to See Complete Forum and Search --> : Draw rectangles to a CBitmap Object


Masaoud
April 26th, 1999, 02:19 PM
How can I draw Rectangles, Lines, Circles, etc to a CBitmap object. Later I wish to save this CBitmap object to a .BMP File. How can I achieve this.

Also please provide some small code sample for drawing to the CBitmap object.

John Holifield
April 26th, 1999, 04:50 PM
Start by checking out the CDC class. You will use this class to select your bitmap and do your drawing.