开发者

Is there any analog of VB.NET's bitmap class for VB6?

开发者 https://www.devze.com 2023-03-15 03:47 出处:网络
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

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.

Is there any analog of VB.NET's bitmap class for VB6?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消