does any one know how to hook mesenger service.

basically what i need is to recieve the messages in my own application which are sent using net send.

otherwise which will appear as a popup.