The Messenger::ContactListWndHandle property returns the window's handle of the contact list window, if currently opened.
This is a read-only property. [handle] ContactListWndHandle;
If the contact list is closed, the return value is 0. The handle is a HWND object and must be used as is. It can be passed as parameter of various Windows API functions like SendMessage.
The window's handle is provided for advanced developers only. Please use extra caution when sending messages to the contact list window as they could cause Messenger to function improperly or crash. For more information about how to call Windows API functions, see Interop Object.
Object | Messenger |
---|---|
Availability | Messenger Plus! Live 4.00 |