Let's see... this is my first post in these forums...
I am developing a plugin for MsgPlus and I've come to a part where I have to make the user change his status... I can make it through Messenger API but it's a mess in case the user has more than 1 MSN session opened...
There is a way to change user's nick... which is like this (in VB)
code:
Public Function SetNewName(ByVal sMessage As String) As Boolean
Dim nMsg As Long
nMsg = RegisterWindowMessage("MessengerPlus_SetName")
Dim nResult As Long
nResult = SendMessage(HWND_BROADCAST, nMsg, StrPtr(sMessage), 1)
If (nResult = 0) Then
SetNewName = False 'Can happen if the user if offline
Else
SetNewName = True 'There is no absolute way to detect if the function was successful
End If
End Function
You can see that it "sends" MessengerPlus_SetName plus the desired name to MsgPlus process... So I want to know if there is any "message" that would change user status, and if there is a list of these messages.
Thx a lot in advance