You did, and you didn't
You did remember to *check* if the ID pressed was MnuAbout, but you did it the wrong way.
It should be like this:
code:
function OnEvent_MenuClicked(IdClicked)
{
if (IdClicked == "MnuAbout") var Wnd = MsgPlus.CreateWnd("Window.xml", "WndTest");
}
edit: guys, that's not what he asked
And he can use
code:
if(ControlId == "BtnClose") Wnd.Close(1);
without any problems, as long as it is one single statement...