locked
How to Make my Scroll bar rotational? RRS feed

  • Question

  • Whenever the scrollviewer comes to the end of the list it stops at that point making me scroll back if i need to select something from the previous item. i want to make the scroll bar rotational that is the list box items must keep appearing as i scroll.. the scroll bar shouldnt come to end .. i hope am clear

    Pls help..

    Thanks :)


    Apoorva R
    Friday, August 19, 2011 6:27 AM

Answers

  • In the listbox's scroll-bar override the WM_VSCROLL notification such that when the user scrolls down (SB_LINEDOWN) when the last item in the listview is shown, you send an LB_SETTOPINDEX to the listbox make the first item visible.

    -PaulH

    • Proposed as answer by Jesse Jiang Tuesday, August 23, 2011 3:14 AM
    • Marked as answer by glitters Tuesday, August 23, 2011 10:14 AM
    Friday, August 19, 2011 2:09 PM