Ignore ReceiveNotify() |
Author: |
Message: |
wipey
Full Member
.oOo.
Posts: 310
37 / – / –
Joined: Jul 2003
|
O.P. Ignore ReceiveNotify()
mentions this in the plugin sample....but how is it done?????!
www.wipey.tk 7210 days, 15 hours, 36 minutes, 10 seconds ago until my 18th birthday
|
|
08-20-2003 01:24 AM |
|
|
Predatory Kangaroo
Full Member
Posts: 144
– / / –
Joined: Jul 2003
|
RE: Ignore ReceiveNotify()
To ignore a RecieveNotify, all you should need to do is return false immediately after entering the function.
|
|
08-20-2003 04:16 AM |
|
|
wipey
Full Member
.oOo.
Posts: 310
37 / – / –
Joined: Jul 2003
|
O.P. RE: Ignore ReceiveNotify()
false in the parsecommand?
www.wipey.tk 7210 days, 15 hours, 36 minutes, 10 seconds ago until my 18th birthday
|
|
08-20-2003 11:25 AM |
|
|
Whacko
Full Member
Posts: 209 Reputation: 1
40 / / –
Joined: Apr 2002
|
RE: Ignore ReceiveNotify()
no
return false in ReceiveNotify()
I code in:
C
C++
Delphi
Visual Basic
Pascal
|
|
08-20-2003 12:26 PM |
|
|
wipey
Full Member
.oOo.
Posts: 310
37 / – / –
Joined: Jul 2003
|
O.P. RE: Ignore ReceiveNotify()
example ?
www.wipey.tk 7210 days, 15 hours, 36 minutes, 10 seconds ago until my 18th birthday
|
|
08-20-2003 12:50 PM |
|
|
Predatory Kangaroo
Full Member
Posts: 144
– / / –
Joined: Jul 2003
|
RE: Ignore ReceiveNotify()
Example in C++:
MPPLUGIN_RETURN_BOOL ReceiveNotify(/*[in]*/ const char* sNotifyCode,
/*[in]*/ const char* sText,
/*[in]*/ PLUGIN_PARAM* pParam,
/*[out]*/ char* sTextToSend)
{
return FALSE;
}
Example in VB:
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
ReceiveNotify = False
End Function
|
|
08-20-2003 12:56 PM |
|
|
wipey
Full Member
.oOo.
Posts: 310
37 / – / –
Joined: Jul 2003
|
O.P. RE: Ignore ReceiveNotify()
wont that just mean I'll receive no notifys at all, eg wont be able to play my custom sounds or anything???!
www.wipey.tk 7210 days, 15 hours, 36 minutes, 10 seconds ago until my 18th birthday
|
|
08-20-2003 03:28 PM |
|
|
Predatory Kangaroo
Full Member
Posts: 144
– / / –
Joined: Jul 2003
|
RE: Ignore ReceiveNotify()
Well, that's what you said you wanted to do
This will ignore ReceiveNotify() by doing the absolute minimal amount of processing when the event is triggered.
If that's what you meant, then try to explain some more
|
|
08-21-2003 05:17 AM |
|
|
wipey
Full Member
.oOo.
Posts: 310
37 / – / –
Joined: Jul 2003
|
O.P. RE: Ignore ReceiveNotify()
I want to make it ignore the next receivenotify, after a command is usd so I don't show the reply to a command too
www.wipey.tk 7210 days, 15 hours, 36 minutes, 10 seconds ago until my 18th birthday
|
|
08-21-2003 10:53 AM |
|
|
wipey
Full Member
.oOo.
Posts: 310
37 / – / –
Joined: Jul 2003
|
O.P. RE: Ignore ReceiveNotify()
for example:
i've defined what's send wen I send a command and what happens when someone sends it to me (I receive it), but when I send a commmand how do I stop myself from both sending and receiving the command
www.wipey.tk 7210 days, 15 hours, 36 minutes, 10 seconds ago until my 18th birthday
|
|
08-21-2003 06:53 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|