Hi,
I can't get ANY Plus! window to show an image background.
Can anybody tell me what I've done wrong (this time)?
The .JS code:
code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
if(Message == "/OpenWnd") {
var Wnd = MsgPlus.CreateWnd("Windows.xml", "WndAbt");
}
}
The XML code:
code:
<?xml version="1.0" encoding="UTF-16"?>
<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd">
<Window Id="WndAbt" Version="1">
<Attributes>
<Caption>TestWindow</Caption>
</Attributes>
<TitleBar>
<AllowMinimize>false</AllowMinimize>
<Title>
<Text>TestWindow</Text>
</Title>
</TitleBar>
<Position Width="860" Height="600"/>
<DialogTmpl/>
</Window>
<Elements>
<Element xsi:type="ImageElement" Id="ImgBackgrnd">
<Position Top="100" Left="100"/>
<Image>
<Name>C:\Program Files\Messenger Plus! Live\Scripts\New Message Alert\IMG\Backgrnd</Name>
<Format>PNG</Format>
</Image>
</Element>
</Elements>
</Interfaces>