DMessengerEvents::OnIMWindowContactAdded Event

Deprecated.  Indicates that a contact has been added to the ongoing conversation.

Syntax

void OnIMWindowContactAdded(      
    IDispatch *pContact,
    IDispatch *pIMWindow
);

Parameters

Return Value

No return value.

Event DISPID

DISPID_MUAE_ONIMWINDOWADD

The DISPID for this event is defined in msgrua.h. Use this value to identify the event handler when implementing IDispatch::Invoke.

Remarks

To be used when writing custom ::Invoke methods to handle these events.

Parameter vaArgs[x] Variant Type
pContact 0 VT_DISPATCH
pIMWindow 1 VT_DISPATCH

Note  This event is available for scripting languages.

Important  DMessengerEvents::OnIMWindowContactAdded is no longer available in Windows Vista. See Windows Messenger for more information.

See Also

IMessengerConversationWnd::AddContact