Please READ your code... There are soo much errors
code:
function OnEvent_MenuClicked(MnuId)
{
switch(MnuId)
{
case "MnuAbout":
var Wnd = MsgPlus.CreateWnd("About.xml", "About");
break;
case "MnuToast":
var Message = "Hello " + Messenger.MyName + "";
MsgPlus.DisplayToast("Title", Message, "notify.wav");
break;
case "MnuSound":
var Wnd = MsgPlus.CreateWnd("Sound.xml", "Sound");
break;
case "MnuGoogle":
var Wnd = MsgPlus.CreateWnd("Google.xml", "Google");
break;
}
}
Also it's more usefull to use a switch instead of lots of else if.
And there is no real use in using so much xml files, just use one and put all the windows in there.