Jump to content
  • Advertisement
Sign in to follow this  
Smit

Custom Listbox: Scrolling?

This topic is 4574 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is what I'm trying to create: But I don't know how to implement the scrollbar. I was going to go with one of these two versions of the listbox. Fixed Height: The control is only ever three "items" worth of data high. One box is highlighted all of the time and moving the scrollbar moves the data up and down the three displayable items. Smooth Scrolling Any Height: It act like a normal listbox does :) The problem is that I'm not sure what to do when the scrollbar is at each end, if its at one then you want to draw item one, two, three. Also if its in the middle such as 15, which do i draw? 14,15,16? 15,16,17? I would like the smooth scrolling system but I don't know how to approach this either. Thanks for any suggestions/help :)

Share this post


Link to post
Share on other sites
Advertisement
I don't know VB6 myself but here is a bump for you. If you don't get a reply by Sunday post in a more specific forum (I think that should be ok, check the FAQ first).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!