Results 1 to 6 of 6

Thread: scrolling

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Posts
    11
    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?

  2. #2
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Are you talking about using BitBlt to simulate scrolling or .... ?
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2001
    Posts
    11
    heh- no, just putting the code behind a scroll bar to scroll through a picture box

  4. #4
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    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....
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  5. #5
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    *argh* picture boxes!


    Please check out my tutorial or learn BitBlt somewhere other, but don't use scrolling picture boxes!!!

    Tutorial (check out part 4)

  6. #6
    Fanatic Member Mad Compie's Avatar
    Join Date
    Aug 2000
    Location
    Kuurne (Belgium)
    Posts
    553
    What about the ScrollDC API? I can't find any examples on the web about this API (just like ScrollWindow).

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