Shoutbox

[help] plus window not showing - 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)
+----- Thread: [help] plus window not showing (/showthread.php?tid=69984)

[help] plus window not showing by BstrdSmkr on 12-28-2006 at 02:52 AM

ok what i'm trying to do is create a library to make balloon popups like those used by the microsoft office assistant. attached is the rough draft of the code, for some reason, i can't get it to see the window as an object ^o) i just can't get my head around why not.   note: the window in the script pack is not even close to what it will be later, its just a placeholder from another script to get the "show window" part off the ground.   any help is greatly appriciated. i'm sure its something simple.  thanks in advance! :)


RE: [help] plus window not showing by Silentdragon on 12-28-2006 at 03:35 AM

Now I'm not much objects like that, but what I noticed was that Balloon is a function correct? But when you create a new instance of it, you call it with "new Balloon()" but up top that function requires arguments. Later you call testballoon.show and pass all the arguments there but show doesn't require any arguments. So maybe swap the arguments on those two?

All in all I think it's failing because you don't pass the Window ID when you create a new instance of Balloon.

If I'm horribly wrong, then disregard my noobness with relation to objects.


RE: [help] plus window not showing by -dt- on 12-28-2006 at 03:51 AM

:/ like those balloon tooltip things from the tray?, Ive already written code to do that if you wanted it


RE: [help] plus window not showing by BstrdSmkr on 12-28-2006 at 10:36 PM

yeah, i'd love to see it, i'm trying to get click events and etc back from it as well.