I'm coding a channel list that contains names, game/flag icons, and ping icons. When I performed a search, I came up with Listview, and I immediately started messing around with that. I found out that for one, the listview wasn't formatted (the columns) the way I'd prefer they would be, for two, there wasn't a way to disable the horizional scrollbar AFAICS.
So I'm wondering if there's any alternatives to Listview?
[Edited to avoid double posting]
P.S. Thanks in advance for any input given. :)
Custom draw a listbox.
Custom draw your own control period.
I mean, yes, there are plenty of alternatives.
Quote from: Kyro on September 16, 2005, 01:11 AM
I'm coding a channel list that contains names, game/flag icons, and ping icons. When I performed a search, I came up with Listview, and I immediately started messing around with that. I found out that for one, the listview wasn't formatted (the columns) the way I'd prefer they would be, for two, there wasn't a way to disable the horizional scrollbar AFAICS.
So I'm wondering if there's any alternatives to Listview?
[Edited to avoid double posting]
P.S. Thanks in advance for any input given. :)
You can change the width to elminiate th horizontal bar.
You can change the formatting style (you probably want lvwReport style).
Change the width, how? And its already lvwreport style.
Stretch it?
No- i meant automatically... how do i control the width of each column at run time?
I don't think i\you can.
off the top of my head
listview1.columnheaders(1).Width = listview1.width - listview1.columnheaders(2).width - 100
this works if say 1 is users and 2 is ping. (I have my ping width set to 475, and this bit of code works for me)
HTH.
Just right click on it, click properties, and the Column Header Tab, and set it up from there. You can make as many columns as you want for as big as you want the listview, I use mine for icon and ping, that's about it, and it works just fine.
"Runtime"