Method to identify message is incoming or outgoing by DMessengerEvents::OnIMWindowCreated event?
I am writting an application to try to get acknowledgement when the MSN messenger receive an incoming message.
With reference to the document in MSDN, I try to use DMessengerEvents:
nIMWindowCreated event as i supposed a new message window will be opened. However, I found problems:
1. It is true that I can get a message when an newly incoming message shown, however, I ALSO get a message when I try to send a message to someone on the contact list. Is there any message event/function help to filter out those outgoing message?
2. Once I get the message I get the conversation window inIMessengerConversationWnd type. However, I found that when get the interface and try to call the member functions, it return neither succeed nor error code (e.g. check return code but it is not one stated in reference document). Is there anything I missed to successfully to do so?
Your kindly help would be pleased, please help, thanks!
Yours,
Vincent

