What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » GetStatusChange

GetStatusChange
Author: Message:
Tobiaz
Full Member
***

Avatar

Posts: 103
Reputation: 5
67 / Male / –
Joined: Aug 2005
Status: Away
O.P. RE: Get FriendlyName
So, I have antoher little problem. Maybe that's a stupid question, but...

I have now this sub:

code:
Private Sub Form_Load()

Set objMessenger = New MessengerAPI.Messenger
Set Contacts = objMessenger.MyContacts


End Sub


Private Sub objMessenger_OnContactStatusChange(ByVal pMContact As Object, ByVal mStatus As MISTATUS)

If pMContact.Status = MISTATUS_ONLINE Then
    Status = "online"
ElseIf pMContact.Status = MISTATUS_BUSY Then
    Status = "Busy"
ElseIf pMContact.Status = MISTATUS_AWAY Then
    Status = "away"
ElseIf pMContact.Status = MISTATUS_BE_RIGHT_BACK Then
    Status = "brb"
ElseIf pMContact.Status = MISTATUS_ON_THE_PHONE Then
    Status = "onphone"
ElseIf pMContact.Status = MISTATUS_OUT_TO_LUNCH Then
    Status = "lunch"
ElseIf pMContact.Status = MISTATUS_OFFLINE Then
    Status = "offline"
End If


   
End Sub


But  how the hell can I call it!? Should it be called automatically!?
I don't get it...

Thanks for helping



Greeeeeeez Tobiaz
12-17-2005 10:38 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
GetStatusChange - by Tobiaz on 12-15-2005 at 04:21 PM
RE: Get FriendlyName - by Dempsey on 12-15-2005 at 04:25 PM
RE: Get FriendlyName - by Tobiaz on 12-15-2005 at 04:26 PM
RE: Get FriendlyName - by Dempsey on 12-15-2005 at 04:31 PM
RE: Get FriendlyName - by Tobiaz on 12-15-2005 at 04:37 PM
RE: Get FriendlyName - by Patchou on 12-15-2005 at 06:48 PM
RE: Get FriendlyName - by Tobiaz on 12-17-2005 at 10:38 AM
RE: GetStatusChange - by Millenium_edition on 12-17-2005 at 10:41 AM
RE: GetStatusChange - by Tobiaz on 12-17-2005 at 11:50 AM
RE: GetStatusChange - by hmaster on 12-17-2005 at 12:00 PM
RE: GetStatusChange - by RaceProUK on 12-17-2005 at 12:12 PM
RE: GetStatusChange - by Millenium_edition on 12-17-2005 at 12:14 PM
RE: GetStatusChange - by Tobiaz on 12-17-2005 at 05:32 PM


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