need help with code for paltalk

In this forums, you can get help for any programming language.

Re: need help with code for paltalk

Postby String » Fri Nov 20, 2009 8:40 pm


Did you read Departures post above?
What is the handle of systemlistview?
Declare this in your module:
Code: Select all
Public lngSysListView as Long

Then, in your NickGet function, place this code as your last line:
Code: Select all
lngSysListView = syslistview

Now, you are still not calling your getuserstatus function correctly. If you haven't edited this function from how it appears in the example, then it returns a string telling you the status of the nick. 1 is returned if it is red dotted. So, you would use it like this:
Code: Select all
If getuserstatus (lngSysListView , (List2.List(j)) = "1" Then
'    your code to remove the red dot
End If

This is just one way you could do it. there may be other more efficient ways.

One problem I foresee, that you will have to figure out yourself, is your code
getuserstatus(syslistview, List2.List(j))
If I understand what you are trying to do, List2 is your "Safe List". The index of the nic in List2 isn't going to have the same index as the nic in the rooms listview.
-= Please ask your questions in the forum, not in pm.
String
imFiles Senior
imFiles Senior
 
Posts: 313
Joined: Mon Mar 10, 2008 7:06 am
Location: IDE

Previous

Return to Programming Help

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests