Communicator API: How to get MOC chats previously open?? RRS feed

  • Pregunta

  • Hi,

    I am creating a plugin for Office 2007 where I interact with MOC 2007 via 'Communicator API'. Using that, I get the MOC contact presence status, and  the events when a chat is open or closed, once my office document is open.

    My problem is when I want to send a message to a user: As far as I know, I need to create the chat ('StartConversation()' in CommunicatorAPI.IMessengerAdvanced) and when I receve the 'OnIMWindowCreated' event I send the text ('SendText()' in IMessengerConversationWndAdvanced)

    It works for me when this is a new chat with the remote user, since I receive the event. But if I had a chat with this user open before my office doc was open, I get no 'OnIMWindowCreated' event in my plugin... So how can I sent the text in that chat??

    My question is: Can get the MOC chats which were open before I open my office doc? Or is there another solution for that problem?

    I hope you could understand me...

    Thanks a lot

    lunes, 23 de noviembre de 2009 11:58