aewarnick
07-03-2003, 06:01 PM
I have this form in C# with a gradient background. When I invalidate an area I want to draw an animation in, only that area is invalidated and the whole form is not redrawn. It looks and works great!
But I try to do the same in C++ and do not know how to blit just the part of the form that I drew on last (to draw the next slide in a different area)
I know how to use a solid color but not how to draw, like I said just part of the background. I found the info on how to invalidate a solid color here:
http://www.experts-exchange.com/CXO/Programming/Programming_Languages/Cplusplus/Q_20027366.html
But it does not cover gradient or pictured backgrounds like in a game.
But I try to do the same in C++ and do not know how to blit just the part of the form that I drew on last (to draw the next slide in a different area)
I know how to use a solid color but not how to draw, like I said just part of the background. I found the info on how to invalidate a solid color here:
http://www.experts-exchange.com/CXO/Programming/Programming_Languages/Cplusplus/Q_20027366.html
But it does not cover gradient or pictured backgrounds like in a game.