code:Debug.Trace("Currently opened chat windows:");
var Windows = Messenger.CurrentChats;
var e = new Enumerator(Windows);
for(; !e.atEnd(); e.moveNext())
{
var ChatWindow = e.item();
Debug.Trace(" Handle: " + ChatWindow.Handle);
}
Straight from the documentation, always check there first.