Share via


DMessengerEvents::OnIMWindowDestroyed event

[OnIMWindowDestroyed is no longer available for use as of Windows Vista. See Windows Messenger for more information.]

Indicates that a new conversation window has been closed.

Syntax

void OnIMWindowDestroyed(
  [in] IDispatch *pIMWindow
);

Parameters

*pIMWindow* \[in\]
C++ Pointer to a IDispatch interface on the MessengerConversationWnd object that corresponds to the added contact. Using this pointer, clients can now code to its IMessengerConversationWnd interface.
VB A MessengerConversationWnd object that corresponds to the added contact.

Return value

This event does not return a value.

Remarks

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

Parameter vaArgs[x] Variant Type
pIMWindow 0 VT_DISPATCH

Note

This event is available for scripting languages.

Requirements

Minimum supported client
Windows 2000 Professional, Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
End of client support
Windows XP
End of server support
Windows Server 2003
Product
Messenger 4.5
Header
Msgrua.h
IDL
Msgrua.idl
DLL
Msgsc.dll