What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Window XML] Some elements unexplained.

[Window XML] Some elements unexplained.
Author: Message:
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: [Window XML] Some elements unexplained.
quote:
Originally posted by markee
quote:
Originally posted by mynetx
ButtonControl/Attributes/DwmAnimations
The only explanation is "Specifies if transition animations are allowed for this control in Windows Vista and above."
This is the animation that vista puts on windows as you open/close/minimise/maximise/etc

Why on earth would it be under ButtonControl then? :P

It controls fade in/out animations for when you hover over the button and also fading when you press it. Easy to see the difference if you make a small window with 2 buttons, 1 allowed and 1 disallowed.

quote:
Originally posted by mynetx
Window/@TranslationSection
How to use this property in scripts?
I think it's for internal use only.

quote:
Originally posted by mynetx
Control/Position/Origins
Description is "Allows to specify a size that's relative to the opposite border of the window."
That description is pretty terrible actually :P but here's what it does:
code:
<Control xsi:type="ButtonControl" Id="TestButton">
  <Position Top="20" Left="10" Height="20" Width="100">
    <Origins Width="Reverse"/>
  </Position>
  <Caption>Test Button</Caption>
</Control>

[Image: attachment.php?pid=915458]

The space with the red arrows is what is specified in Position/@Width, the width between the right edge of the button and the edge of the window's client area.

.jpg File Attachment: button-origins.jpg (5.64 KB)
This file has been downloaded 181 time(s).
06-30-2008 01:09 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Window XML] Some elements unexplained. - by mynetx on 06-27-2008 at 10:26 AM
RE: [Window XML] Some elements unexplained. - by markee on 06-30-2008 at 12:15 PM
RE: [Window XML] Some elements unexplained. - by Eljay on 06-30-2008 at 01:09 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On