What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Help required

Help required
Author: Message:
Steve Waring
New Member
*

Avatar

Posts: 8
– / Male / Flag
Joined: Apr 2008
O.P. Help required
I need help on a few points. I guess I could really do with a mentor for this.

1) I am displaying custom emoticons in a PlusWnd. When displaying those based upon an animated gif (either using the original .dt2 file, or renaming the file to end .gif) only the first frame of the image is shown. Is it possible to have the animated image played. My problem is that there are a number of animated gif based emotes, where the first frame is just a totally transparent frame with nothing in it. Thus nothing is shown when this emote is displayed in a PlusWnd.

2) I do not know how many images need to be displayed before run time. Is there a way to add an image (rather than modify one) to a PlusWnd. As the images are being displayed in a child window, one way would be to write the XML out for the child window using Scripting.FileSystemObject, before the window is opened.

3)
I'm not sure that this will be a problem for me, but I have noticed that if a new image is loaded using ImageElmt_SetImageFile, the width and height from the previous image are retained, acting as cropping bounderies. Is it possible to have the width and height of the new image honoured.

4) I notice that using GetElementPos on the image gives X and Y coordinates that are offset by 3, and 50 from the values specified in the XML. Why is this?

5) The killer question: I may have more images to display than will fit in the child window. How do I add scroll bars to it?

I really would appreciate help with this. The final script will be a real boon for anyone who has a large number of emotes, uses compound emotes (where more than one are strung together), etc.
08-02-2008 12:19 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help required - by Steve Waring on 08-02-2008 at 12:19 AM
RE: Help required - by SmokingCookie on 08-03-2008 at 07:51 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