|
-
April 25th, 2004, 01:54 AM
#1
Listbox Scrolling
Does anyone know how to reference the scroll up and scroll down event for a listbox control? I want to place two buttons on my form, one that will execute the scroll up event for the listbox and the other for the scroll down event.
Thanks,
Larry
-
April 25th, 2004, 03:35 AM
#2
LB_SETTOPINDEX message can be used to ensure that a list item is visible,,
but I don't know any messages to scroll the List.
I'll try to look it up .. interesting issue !!!
-
April 25th, 2004, 04:07 AM
#3
hi,
look in MSDN for Get/SetScrollInfo or if you don't want to send messages you can have your local position counter and by button click increase/decrease it and select the item in the listbox and this will automatically scroll the listbox up/down.
kind of regards,
typecast
-
April 26th, 2004, 02:12 PM
#4
Thank you for your responses got it working with your helop
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|