• Welcome to Valhalla Legends Archive.
 

ListView, Client, & Flags

Started by CrAz3D, August 21, 2003, 05:11 PM

Previous topic - Next topic

CrAz3D

(vb6)
I am not able to add the user gainning ops with their full information, ie. Ping & Lag Icons, as if they had no  ops.  This only occures if I place the user gainning ops as index 1 on the listview, it works if I place them as index 2.

Anybody have any ideas of what I could change to fix this?...
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

Skywing

Quote from: CrAz3D on August 21, 2003, 05:11 PM
(vb6)
I am not able to add the user gainning ops with their full information, ie. Ping & Lag Icons, as if they had no  ops.  This only occures if I place the user gainning ops as index 1 on the listview, it works if I place them as index 2.

Anybody have any ideas of what I could change to fix this?...
Not only is your problem description not very clear, but you did not post your code.  It's highly doubtful that anybody will be able to help you until you give more information.

Grok

How you add the listview entry should not change just because the user has ops.  The only thing you should change is the sort column's value.

Blizzard > BnetAdmins > Ops > *(ByJoinOrder)

or something like that.

CrAz3D

#3
my bad on code part

   If Flags = 2 Then
       With Form1.RoomList
           usrIndex = Form1.RoomList.FindItem(Username).Index
           .ListItems.Remove usrIndex
           .ListItems.add 1, , Username, , Icon
           .ListItems(.ListItems.Count).ListSubItems.add , , , LagIcon
           .ListItems(.ListItems.Count).ListSubItems.add , , Ping
       End With
   Else
       With Form1.RoomList
           usrIndex = Form1.RoomList.FindItem(Username).Index
           .ListItems.Remove usrIndex
           .ListItems.add usrIndex, , Username, , Icon
           .ListItems(.ListItems.Count).ListSubItems.add , , , LagIcon
           .ListItems(.ListItems.Count).ListSubItems.add , , Ping
       End With
   End If
rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

CrAz3D

rebundance - having or being in excess of sheer stupidity
(ré-bun-dance)
Quote from: Spht on June 22, 2004, 07:32 PMSlap.
Quote from: Adron on January 28, 2005, 09:17 AMIn a way, I believe that religion is inherently evil, which includes Christianity. I'd also say Christianity is eviller than Buddhism (has more potential for evil).
Quote from: iago on April 19, 2005, 01:06 PM
CrAz3D's ... is too big vertically, at least, too big with ... iago ...

Skywing

Note that you should use If Flags And 2 and not If Flags = 2.  Otherwise, you won't properly detect operators without UDP support, squelched operators, etc...