How to handle a message before the client displays it

Greetings,

I'm programming in C# with Visual 2005.

I'm trying to implement an addin for WLM that will make some treatment on an incoming text message. So, I'd want to wait the end of the treatment to display the incoming text message into the "chat window" of WLM.

When I handle the event IncomingTextMessage of the MessengerClient class, the text message is first displayed, and then, the event is handled. But I'd want do do the opposite: first handle the message, then make my stuffs, and finally display it.

Is it possible And how

Thanks a lot.

R.P.




Answer this question

How to handle a message before the client displays it

  • Insignia

    I do not manage to understand how DotMSN could allow me to solve my problem. Since in any case, it is impossible to recover the message before it is not posted by WLM.
  • jmastry

    Why don't you use dotMSN.
    Because I didn't know about its existence. Thank you for the information.

    If I understood well the functioning of dotMSN, I am going to have to implement completely an apllication which is going to replace totally WLM

    Thank you.

    R.P.

  • aoky

    Maybe it is possible to do that with the Activity SDK I don't see anything talking about this kind of development.

  • thusinh

    r0d wrote:
    Maybe it is possible to do that with the Activity SDK I don't see anything talking about this kind of development.

    Why don't you use dotMSN.

    It will give you more MSN control.



  • Demonslayer

    I do not know your full scenario but check http://dev.live.com and see if ay of the sdk's there can help you.

  • How to handle a message before the client displays it