What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Retrieve who the user is chatting with?

Retrieve who the user is chatting with?
Author: Message:
SWINX
New Member
*


Posts: 11
– / Male / –
Joined: Feb 2005
O.P. Retrieve who the user is chatting with?
When I'm in a conversation, I want my plugin to know who the other user is (email address), if this is possible with the API for VB6?

Thanx.
02-16-2005 11:38 PM
Profile PM Web Find Quote Report
Joel4119
Junior Member
**


Posts: 61
Joined: Jul 2004
RE: Retrieve who the user is chatting with?
Just hover your mouse over their display picture.
02-17-2005 12:30 AM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Retrieve who the user is chatting with?
It is not possible with the API of Plus!. What you would have to do is use the oMessenger object passed through Initialize and try and get the open convos there and see who the person is chatting with. I will edit my post if I think of a way to do it.


quote:
Originally posted by Joel4119
Just hover your mouse over their display picture.
Also this has nothing to do with the question. He is trying to make a program not see what the title of the window is.

This post was edited on 02-17-2005 at 12:41 AM by matty.
02-17-2005 12:36 AM
Profile E-Mail PM Find Quote Report
Joel4119
Junior Member
**


Posts: 61
Joined: Jul 2004
RE: Retrieve who the user is chatting with?
Haha, sorry. I didn't understand the question.
02-17-2005 04:24 AM
Profile E-Mail PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
37 / Male / Flag
Joined: Jul 2003
RE: Retrieve who the user is chatting with?
i can't remember exactly, but i think you want something like:
code:
Set MSN = New oMessenger
    Dim iContact As MessengerAPI.IMessengerContact
    Dim iConv As MessengerAPI.IMessengerConversationWnd
   
    For Each iContact In iConv.Contacts
        MsgBox iContact.SigninName
    Next
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
02-17-2005 10:54 AM
Profile E-Mail PM Web Find Quote Report
SWINX
New Member
*


Posts: 11
– / Male / –
Joined: Feb 2005
O.P. RE: Retrieve who the user is chatting with?
Thanks for your reply. I'll test it and get back to you guys.
02-17-2005 11:04 AM
Profile PM Web Find Quote Report
SWINX
New Member
*


Posts: 11
– / Male / –
Joined: Feb 2005
O.P. RE: RE: Retrieve who the user is chatting with?
I can succesfully create a Messenger object with:

code:
Set oMessenger = New MessengerAPI.Messenger

I can succesfully show MyFriendlyName in a MsgBox

I try to use these stuff in the ParseCommand function.

But I can't get the Contacts-code from above working...
MSN+ stops when I try to do this:

code:
        Dim iContact As MessengerAPI.iMessengerContact
        Dim iConv As MessengerAPI.IMessengerConversationWnd

and then says there is no such MSN+ function supported.

I also don't see the codes like iMessengerContact in the dropdownlist as element of MessengerAPI when I'm coding...
Does someone know how I can fix this?

This post was edited on 02-17-2005 at 10:17 PM by SWINX.
02-17-2005 06:57 PM
Profile PM Web Find Quote Report
SWINX
New Member
*


Posts: 11
– / Male / –
Joined: Feb 2005
O.P. RE: Retrieve who the user is chatting with?
after I added this on the top of my class module, the MessageContact part worked...

code:
Private Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long

private const WM_USER = &10

This post was edited on 02-17-2005 at 11:25 PM by SWINX.
02-17-2005 11:22 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On