Listview vertical scrollbar only

T

tJ

I am trying to replicate the functionality/display of the MS Outlook
attachment box.

I now know how to gather the file type icons and I'm able to use them
in my listview with its' view property set to "smallicon".

My problem is that when many items are displayed in the listview, BOTH
the horizontal and vertical scrollbars display. Is it possible to
enforce the vertical scrollbar ONLY? If so, can you please give me some
idea how to go about it?

Thanks in advance.

Tasneem
 
W

Wiktor Zychla [MVP]

My problem is that when many items are displayed in the listview, BOTH
the horizontal and vertical scrollbars display. Is it possible to
enforce the vertical scrollbar ONLY? If so, can you please give me some
idea how to go about it?

Thanks in advance.

Tasneem

if you cannot accomplish that with .net, use win32 ShowScrollBar function
inside list's Layout event handler.
Wiktor Zychla
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top