Shoutbox

Participating in a window - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Participating in a window (/showthread.php?tid=81088)

Participating in a window by magemello on 01-20-2008 at 08:23 PM

How do I know how many participants there are in a specific  chatwnd?


RE: Participating in a window by Yorick on 01-20-2008 at 08:59 PM

The ChatWnd::Contacts property returns the list of contacts currently participating in the chat, excluding the active Messenger user.

From there on you should be able to count the number of contacts in the returned list :)!


RE: Participating in a window by matty on 01-20-2008 at 10:50 PM

The contacts object already has a Count property.

Simply use it this way

code:
Debug.Trace(ChatWnd.Contacts.Count);

RE: Participating in a window by magemello on 01-21-2008 at 02:07 PM

thank you