Shoutbox

How to embed images in a conversation window? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: How to embed images in a conversation window? (/showthread.php?tid=35862)

How to embed images in a conversation window? by Kirill on 12-20-2004 at 10:16 PM

Hey,

It is my intention to write a certain plugin for Messenger Plus! that will involve embedding images in a conversation window, for example:

"Someone says: Hey! Here's a picture of my dog: [some image]. Like it?"

I looked through the C++ api, but the functions there don't reveal much as to how to accomplish this specific task? Does the conversation window accept HTML tags, so perhaps I could do something like <img src="c:\dog.png"> or something?

Thanks for your time,
Kirill.


RE: How to embed images in a conversation window? by Replicarter on 12-20-2004 at 10:39 PM

Have you looked around custom emotions? That might provide some insight on how to do it?


RE: How to embed images in a conversation window? by Kirill on 12-20-2004 at 10:57 PM

Hey.

That's a nice idea, but embedding images is only a small part of what I need to do with my plugin. And no, I can guarantee you that a plugin that does what I want mine to do doesn't exist yet =)

In addition, the Custom Emoticons plugin download doesn't work. And finally, I doubt that the person who wrote it would be able to contribute the source code.


RE: How to embed images in a conversation window? by Plik on 12-20-2004 at 11:08 PM

The only way this could be done would be for the user at the other end to have the plugin.
Then you could use the SendNotify message to send a message to the other user, the plugin at there end would recieve that message, then request the picture from your plugin, your's could then send the data to the other which would display the image in the convosation window


RE: RE: How to embed images in a conversation window? by Kirill on 12-20-2004 at 11:14 PM

quote:
Originally posted by madman66
The only way this could be done would be for the user at the other end to have the plugin.
Then you could use the SendNotify message to send a message to the other user, the plugin at there end would recieve that message, then request the picture from your plugin, your's could then send the data to the other which would display the image in the convosation window


Heh, I know how my plugin works. I've already written it for "gaim". All I'm asking is how, physically, to stick a picture inside an IM window, that's all.
RE: How to embed images in a conversation window? by TheBlasphemer on 12-21-2004 at 06:20 AM

Well, you would have to hook the RichEdit interface, and upon adding of text parse it... I tried to do this a long time ago, but I failed because MSN would get out of sync with the emoticons.

If you really want to do this, I suggest you go read a lot about RichEdit hooking :P


RE: How to embed images in a conversation window? by leito on 12-21-2004 at 07:15 AM

Didn't "Over-Sized Emoticons" allowed this? I haven't use it since a long time, but I remember you could send big pictures "embeded" as emoticons in the conversation.


RE: RE: How to embed images in a conversation window? by Kirill on 12-21-2004 at 02:44 PM

quote:
Originally posted by TheBlasphemer
Well, you would have to hook the RichEdit interface, and upon adding of text parse it... I tried to do this a long time ago, but I failed because MSN would get out of sync with the emoticons.

If you really want to do this, I suggest you go read a lot about RichEdit hooking :P


Heh, thanks =) I've already found out about this yesterday, when no one was answering my post beyond postcount #4. Thanks, though :)
RE: How to embed images in a conversation window? by FrozernFire on 12-21-2004 at 04:05 PM

i remember there was this ink pro thing(forgot the name). it was a better version of ink redistributes. it could convert images into ink messeges to send over to the contact


RE: How to embed images in a conversation window? by leito on 12-22-2004 at 06:46 PM

quote:
Originally posted by FrozernFire
i remember there was this ink pro thing(forgot the name). it was a better version of ink redistributes. it could convert images into ink messeges to send over to the contact

This was Infopen Pro. You could also add text to the "ink" message.
RE: How to embed images in a conversation window? by Kirill on 12-23-2004 at 02:52 AM

Well, I have succeeded, despite all the various claims:

Here's a screenshot of the plugin I was working on. I'll let you figure out what it does (H)

Here it is.


RE: How to embed images in a conversation window? by andrey on 12-23-2004 at 04:11 AM

:D when will it be ready for download ?


RE: RE: How to embed images in a conversation window? by Kirill on 12-23-2004 at 04:45 AM

quote:
Originally posted by AndreY
:D when will it be ready for download ?


Quite possibly by the end of the week, might bleed into the weekend though. I still have to make sure it's spot-on, and all.
RE: How to embed images in a conversation window? by CookieRevised on 01-03-2005 at 04:25 AM

for people interested in this, see "New LaTeX Math Plugin"...