Results 1 to 8 of 8

Thread: Filling a picturebox?

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Posts
    14

    Question

    Is it possible to fill a picturebox with a small image, like the "side by side" function on your windows background?
    _________________
    .-{= TwoFace =}-.

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Yeah just blit a picture to it a couple of times till its full.

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Posts
    14

    Unhappy Hmm...

    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???
    _________________
    .-{= TwoFace =}-.

  4. #4
    Guest
    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.

  5. #5
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    I would normally agree with Zaei, but for some reason the admin removed the search function
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  6. #6
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    And here's where The Manual would come in handy

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  7. #7
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    They changed the smiley face to red -

    Hey plenderj, UPLOAD MY STUFF
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  8. #8
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    my god what an awful smiley.
    emm ok if i can find it

    ill have to modify the layout/colours too.

    - jamie
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width