Shoutbox

hello world 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)
+----- Thread: hello world window (/showthread.php?tid=71926)

hello world window by ab5000 on 02-19-2007 at 04:29 PM

hello.
today i've tryed to show the "Hello World" window explained in the Scripting Documentation.
I've saved the xml file as "windows.xml" and i've written this code:

code:
function OnEvent_Initialize(MessengerStart)
{
    Wnd = MsgPlus.CreateWnd("windows.xml", "WndTest");
}

but it doesn't show the window and returns null.
What's the problem?
Thaks to all.
P.S.: Sorry for my bad english.
RE: hello world window by pollolibredegrasa on 02-19-2007 at 04:36 PM

You need to save the window as Unicode :)


RE: hello world window by Jimbo on 02-19-2007 at 06:00 PM

quote:
Originally posted by fatfreechicken
You need to save the window as Unicode :)
Unicode-16 to be precise;)
RE: hello world window by felipEx on 02-19-2007 at 07:12 PM

maybe your window is not a valid xml  ehehe
you can use the InterfaceTester :)