Posts: 1,241
Threads: 107
Joined: Feb 2003
Is there any possible way to add scroll buttons to a picture box running on VB 5.0 or VB 6.0? any help would be much apreciated
the mind is a beautiful thing, use it and make the world a more beautiful place.
Posts: 3,616
Threads: 287
Joined: Jan 2003
Hm, no, don't think so.
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Posts: 6,419
Threads: 74
Joined: Mar 2002
Yeah, of course you can, but ou have to code a little bit. This is intermediate stuff.
You have a picture box, the two scrollbars, and the picture you want to scroll
as a picture box inside the main picture box. You have to add code to the change and big change events in the scroll bars that place the inner picture box correctly inside the outter.
http://www.visualbasicforum.com/t131529.html
Posts: 3,616
Threads: 287
Joined: Jan 2003
* Zack is confused.
I really don't know VB, I guess. =/
Ignore my post up there...
f only life let you press CTRL-Z.
--------------------------------------
Freebasic is like QB, except it doesn't suck.
Posts: 1,241
Threads: 107
Joined: Feb 2003
Thanks, that really helped
the mind is a beautiful thing, use it and make the world a more beautiful place.
Posts: 3,279
Threads: 170
Joined: Nov 2003
I made a scrolling picturebox control awhile back, I posted the URL in another post here in this forum regarding VB pictureboxes. It's virtually the same as the normal picturebox (it's missing a few properties, events, and methods though), and has a similar default name (SPictureBox). It uses the BitBlt API call internally. Sourcecode should be included but I'm not 100% sure anymore.
I'd knock on wood, but my desk is particle board.