What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » problem with my first plugin

problem with my first plugin
Author: Message:
ilBlasco
New Member
*


Posts: 1
Joined: Oct 2004
O.P. problem with my first plugin
hello,
i'm programming my first plugin in vb6...i have a problem: my plugin should play a different sound whenever a plugin text ID is notified by the ReceiveNotify() function...the problem is that if the receiver's conversation window is minimized (another process executes in foreground) then the receiver can't hear the sound... if the problem is that the conversation window is minimized (but the built-in sounds of MsgPlus! work well in the same situation) how can i play sound in this situation??

---->code
Public Function ReceiveNotify(ByVal sNotifyCode As String, ByVal sText As String, ByVal sContactName As String, ByVal oConversationWnd As Object, ByRef sTextToSend As String) As Boolean
    Dim retval As Long, res As Boolean
   
    If (StrComp(sNotifyCode, "frenk", vbTextCompare) = 0) Then
        retval = PlaySound("C:\Programmi\Messenger Plus! 3\Plugins\ValerioSounds\frenk.wav", 0, SND_FILENAME Or SND_ASYNC Or SND_NODEFAULT)
        ReceiveNotify = True
        Exit Function
    ElseIf (StrComp(sNotifyCode, "playm", vbTextCompare) = 0) Then
        retval = PlaySound("C:\Programmi\Messenger Plus! 3\Plugins\ValerioSounds\playmobil.wav", 0, SND_FILENAME Or SND_ASYNC Or SND_NODEFAULT)
        ReceiveNotify = True
        Exit Function
    End If
   
   
   
    'Give other plugins a chance to receive this notification
    ReceiveNotify = False
End Function

--->end code
10-08-2004 06:00 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
problem with my first plugin - by ilBlasco on 10-08-2004 at 06:00 PM
RE: problem with my first plugin - by RaceProUK on 10-08-2004 at 08:53 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