hey, i'm working on learning the basics, and i was looking at how to make a scrolling picture box- the VB help file confused me even more. Anyone know a good tutorial or something to explain it to me?
Printable View
hey, i'm working on learning the basics, and i was looking at how to make a scrolling picture box- the VB help file confused me even more. Anyone know a good tutorial or something to explain it to me?
Are you talking about using BitBlt to simulate scrolling or .... ?
heh- no, just putting the code behind a scroll bar to scroll through a picture box :D
Well believe it or not the only way I can think of scrolling a picture through a picturebox is by using the BitBlt API.
When the scrollbars change, then you would Blit from a different part of the picture ; thus immitating scrolling....
*argh* picture boxes!:eek:
Please check out my tutorial or learn BitBlt somewhere other, but don't use scrolling picture boxes!!!
Tutorial (check out part 4)
What about the ScrollDC API? I can't find any examples on the web about this API (just like ScrollWindow).