quote:
Originally posted by c_clarky_89
thats so unfair
I spent quite a while figuring out stuff/making an example for you. Hopefully this will help you and others.
xml 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="WndTest" Version="1">
<Attributes>
<Caption>WndTest</Caption>
</Attributes>
<TitleBar>
<Title>
<Text>WndTest</Text>
</Title>
</TitleBar>
<Position Width="100" Height="100"/>
<DialogTmpl/>
<Elements>
<Element xsi:type="ImageElement" Id="ImgCake" Visible="true">
<Position Top="10" Left="10" Width="33" Height="39">
<Units>AllPixels</Units>
</Position>
<Attributes>
<AllowAnimate>true</AllowAnimate>
</Attributes>
<Image>
<Name>ImgCake</Name>
<Format>GIF</Format>
</Image>
</Element>
</Elements>
<Controls>
<Control xsi:type="ButtonControl" Id="BtnCake">
<Position Top="10" Left="10" Width="33" Height="39">
<Units>AllPixels</Units>
</Position>
<CustomLook/> <!-- Makes sure the button isn't shown at all or over the image -->
</Control>
</Controls>
</Window>
</Interfaces>
I've attached ImgCake.gif below for you to test the XML (yes I know it isn't even close to a cake).