CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Threaded View

  1. #1
    Join Date
    Feb 2003
    Location
    Oklahoma City, OK
    Posts
    63

    Question problem with Bitmaps

    I am trying to use undo in my program, so I made a class to do this (see attatched) and I put a bitmap in an instance of this class BEFORE I change the bitmap object. the function for the undo click event calls a function of the undobuf class that returns object and I cast it to bitmap and assign it to the Bitmap and then refresh the form. now, the problem is, that somehow, it is saving the changed version of the bitmap, even though I saved it before I did the change. full source for form attatched. Please help

    also it will only work with 24bit bitmaps, how do I change how I use the setpixel, so that it will work with all bitmaps?
    Attached Files Attached Files
    Last edited by phirestalker; February 21st, 2003 at 03:28 AM.

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