What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Question about ReceiveNotify (VB)...I think Patchou may have to read this?

Question about ReceiveNotify (VB)...I think Patchou may have to read this?
Author: Message:
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
O.P. Question about ReceiveNotify (VB)...I think Patchou may have to read this?
Well the argument sContactName in ReceiveNotify indicates the sender of the Notify...
But it is a "parsed" name, which means that all format tags in the contact's name have been parsed...

If I want to know if the notify is sent by me, I have to use Messenger.MyFriendlyName to do a string compare with sContactName...but MyFriendlyName gives a contact name with unparsed format tags...

And therefore I can't compare them two, because one of them(sContactName) doesn't have format tags while the other one(MyFriendlyName) does:(

I have tried to get rid of the format tags myself, but I am quite stuffed with Ctrl+K one...so I don't think it's a practicable way.

Same happens with IMessengerContact.FriendlyName of course...

I suggest Patchou make sContactName's value be "raw" contact name, with unparsed format tags...

Do you get me? :(
11-08-2003 06:22 AM
Profile PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Question about ReceiveNotify (VB)...I think Patchou may have to read this?
I understand what you mean... but instead, I think I should just provide a function to clear all the control characters from the string. If I remember to do it, you'll have it :)

This post was edited on 11-08-2003 at 06:26 AM by Patchou.
[Image: signature2.gif]
11-08-2003 06:26 AM
Profile PM Web Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
O.P. RE: Question about ReceiveNotify (VB)...I think Patchou may have to read this?
quote:
Originally posted by Patchou
I understand what you mean... but instead, I think I should just provide a function to clear all the control characters from the string. If I remember to do it, you'll have it :)
Thanks dude...;)
There are just too many possibilities of code combination(one digit, two digits, RGB color, Hex RGB color, with or without background) for Ctrl+K...
11-08-2003 06:28 AM
Profile PM Web Find Quote Report
itior
Junior Member
**


Posts: 29
Joined: Sep 2003
RE: Question about ReceiveNotify (VB)...I think Patchou may have to read this?
Better yet, pass the e-mail of the contact instead of the display name.
11-08-2003 01:53 PM
Profile E-Mail PM Find Quote Report
optimism_
Senior Member
****

Avatar
Ctrl+Alt+Del - Tragically l337

Posts: 521
Reputation: 8
37 / Male / –
Joined: Jul 2003
RE: Question about ReceiveNotify (VB)...I think Patchou may have to read this?
or both?
HTTP 404 - Signature Not Found
11-19-2003 10:52 PM
Profile E-Mail 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