DMessengerEvents::OnIMWindowContactAdded Event

[OnIMWindowContactAdded is no longer available in Windows Vista. See Windows Messenger for more information.]

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

Syntax

void OnIMWindowContactAdded(
  [in]  IDispatch *pContact,
  [in]  IDispatch *pIMWindow
);

Parameters

pContact [in]
Pointer to a IDispatch interface on the MessengerContact object that corresponds to the added contact. Using this pointer, clients can now code to its IMessengerContact interface.A MessengerContact object that corresponds to the added contact.
pIMWindow [in]
Pointer to a IDispatch interface on the MessengerConversationWnd object. Using this pointer, clients can now code to its IMessengerConversationWnd interface.A MessengerConversationWnd object.

Return Value

This event does not return a value.

Remarks

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

ParametervaArgs[x]Variant Type
pContact0VT_DISPATCH
pIMWindow1VT_DISPATCH

 

Note  This event is available for scripting languages.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP

Minimum supported server

Windows Server 2003

Product

Messenger 4.5

Header

Msgrua.h

IDL

Msgrua.idl

DLL

Msgsc.dll

See Also

DMessengerEvents
AddContact

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Community Additions

ADD
Show: