This is basically a script which gives you a "command bar" (sort of like a floating deskbar), with various commands.
xml code:
<!-- the parent window -->
<Window Id="WndCommandBar_Shell" Version="1">
<Attributes>
<Caption>Command Bar</Caption>
<TopMost>true</TopMost>
<ShowInTaskbar>false</ShowInTaskbar>
</Attributes>
<TitleBar>
<AllowMinimize>false</AllowMinimize>
<AllowClose>false</AllowClose>
</TitleBar>
<Position Width="188" Height="28">
<IsAbsolute>true</IsAbsolute>
<Resizeable Allowed="BothSides">
<MinWidth>150</MinWidth>
<MinHeight>28</MinHeight>
</Resizeable>
</Position>
<WindowTmpl>
<Borders Type="Simple"/>
</WindowTmpl>
</Window>
xml code:
<!-- the child window -->
<Window Id="WndCommandBar_CMain" Version="1">
<Position Width="188" Height="28">
<IsAbsolute>true</IsAbsolute>
<Resizeable Allowed="BothSides">
<MinWidth>150</MinWidth>
<MinHeight>28</MinHeight>
</Resizeable>
</Position>
<ChildTmpl/>
<Controls>
<Control xsi:type="ButtonControl" Id="BtnCommands">
<Position Left="10" Top="0" Width="24">
<Units>AllPixels</Units>
<Anchor Vertical="TopBottomFixed"/>
</Position>
<Image><Name>Options</Name></Image>
<Help>Some useful preset commands.</Help>
<StandardLook Template="Clear"/>
</Control>
<Control xsi:type="ButtonControl" Id="BtnContacts">
<Position Left="35" Top="0" Width="24">
<Units>AllPixels</Units>
<Anchor Vertical="TopBottomFixed"/>
</Position>
<Image><Name>Contacts</Name></Image>
<Help>Your Messenger contacts.</Help>
<StandardLook Template="Clear"/>
</Control>
<Control xsi:type="EditControl" Id="EdtCmd">
<Position Left="60" Top="0" Width="99" Height="24">
<Units>AllPixels</Units>
<Anchor Horizontal="LeftRightFixed" Vertical="TopBottomFixed"/>
</Position>
<Help>Type a command here...</Help>
</Control>
<Control xsi:type="ButtonControl" Id="BtnOk">
<Position Left="160" Top="0" Width="24">
<Units>AllPixels</Units>
<Anchor Horizontal="RightFixed" Vertical="TopBottomFixed"/>
</Position>
<Attributes>
<IsDefault>true</IsDefault>
</Attributes>
<Image><Name>Tick</Name></Image>
<Help>Click to process the command, or press Enter.</Help>
<StandardLook Template="Clear"/>
</Control>
</Controls>
</Window>
And that builds it fine, but I want to make it resizable, and when it is resized, only the parent changes. How do I go about making the child resize with the parent?