PDA

Click to See Complete Forum and Search --> : Filling a picturebox?


TwoFace
Mar 16th, 2001, 03:03 AM
Is it possible to fill a picturebox with a small image, like the "side by side" function on your windows background?

plenderj
Mar 16th, 2001, 04:04 AM
Yeah just blit a picture to it a couple of times till its full.

- jamie

TwoFace
Mar 16th, 2001, 04:08 AM
Ok... First of all, how do I do that?

Second of all, the picturebox will have a very changing size, so how do I do this without losing to much ressources???

Mar 16th, 2001, 06:59 AM
Just do a search on the forums here. You will find probably over a thousand threads on BitBlt. About the size changing thing, you could make it so that when ever you change the box's size, just call a function to re-paint the picture box.

Z.

Sastraxi
Mar 16th, 2001, 07:26 AM
I would normally agree with Zaei, but for some reason the admin removed the search function :(

plenderj
Mar 16th, 2001, 07:29 AM
And here's where The Manual would come in handy :)

- jamie

Sastraxi
Mar 16th, 2001, 08:52 AM
They changed the smiley face to red :) - :(

Hey plenderj, UPLOAD MY STUFF :D

plenderj
Mar 16th, 2001, 09:00 AM
my god what an awful smiley.
emm ok if i can find it :)

ill have to modify the layout/colours too.

- jamie