CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    7

    Draw rectangles to a CBitmap Object

    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.


  2. #2
    Join Date
    Apr 1999
    Location
    Alabama, USA
    Posts
    261

    Re: Draw rectangles to a CBitmap Object

    Start by checking out the CDC class. You will use this class to select your bitmap and do your drawing.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured