Vertical Scrollbar in Listview RRS feed

  • Question

  • Hello, I am using "static public extern bool ShowScrollBar(System.IntPtr hWnd, int wBar, bool bShow)" function to create vertical scrollbar in listview with largeIcon view in C#.. it shows the vertical scrollbar, but the items are not correctly placed in the listview ,it shows the same as horizontal. how can i set the listview item with the vertical scrollbar? pls help me....
    Monday, February 14, 2011 6:41 AM


  • Hi noufy,

    > how can i set the listview item with the vertical scrollbar

    Base on your description, do you mean you want to show the items in vertical derection? If so , I think you can change the "Alignment" property to "Left".

    I hope it helps solve your problem. If any misunderstanding, please feel free to let me know and give more imformation.

    Vin Jin

    Vin Jin [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by Aspen VJ Wednesday, February 23, 2011 2:14 AM
    Wednesday, February 16, 2011 2:26 AM