Author | Message | Time |
---|---|---|
Vernors | I was wondering how I would make it so ops are the top and it went as in the order as they joined the channel, I have tried everything and could not get it to work. Is there anything special I have to do to make my listview order them in this order? | January 29, 2005, 4:17 AM |
UserLoser. | Simply set the index of the item to the position you want (zero-based) in your LVITEM struct with the iItem member, then use LVM_INSERTITEM to insert the item into the listview like you normally do | January 29, 2005, 5:51 AM |
tA-Kane | First, check if they are an operator (using bitwise functions on their flags). If they are, then insert them in the highest visible position (usually ends up being position zero). | January 29, 2005, 8:24 AM |
Vernors | Thank you both, I now have it working I love this forum I always get all my problems solved. If I run into any others I will post them here, that is if you guys want to hear them. Lol | January 29, 2005, 9:45 AM |
JoeTheOdd | By the way, by bitwise functions, he means.. [code]If Flags and 2 Then[/code] replacing 2 with the apropriate value. | January 29, 2005, 8:45 PM |