Is there any analog of VB.NET's bitmap class for VB6?
I have a form and a custom scrollable PictureBox control (a very large PictureBox control inside another smaller PictureBox with 2 sliders to move large PictureBox inside smaller one). While scrolling large PictureBox inside smaller one the graphics that are drawn on large PictureBox get erased.
I would like to use a kind of off-screen buffer technique to cache all the开发者_StackOverflow社区 drawing operations and to repaint the "dirty" parts of the view if necessary. There is an example of how to do this with Bitmap class in VB.NET.
Is there any analog of VB.NET's Bitmap class for Visual Basic 6?
I'm sure it's possible to do what you want, but I believe all you are looking for is the AutoRedraw property of the picturebox.
精彩评论