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:
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
37 / Male / Flag
Joined: Jul 2007
O.P. [Window XML] Some elements unexplained.
Today I had a browse through the Scripting Docs and found some elements whose meaning is somewhat unclear to me. Maybe (probably) anybody knows what they do or how they react.
  • ButtonControl/Attributes/DwmAnimations
    The only explanation is "Specifies if transition animations are allowed for this control in Windows Vista and above."

  • ComboBoxControl/Attributes/OwnerDraw
    Allowed options are None, Fixed or Variable.

  • Control/Position/Origins
    Description is "Allows to specify a size that's relative to the opposite border of the window."

  • Window/@TranslationSection
    How to use this property in scripts?

  • AllowRTL for ComboBoxControls
    For RichEditControls, there is the XML node RichEditControl/Attributes/AllowRTL to display a control in LTR mode even in an RTL window. How can this be done for ComboBoxControls?

This post was edited on 06-27-2008 at 10:27 AM by mynetx.
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
06-27-2008 10:26 AM
Profile E-Mail PM Web Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1622
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: [Window XML] Some elements unexplained.
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
[Image: markee.png]
06-30-2008 12:15 PM
Profile PM Find Quote Report
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 190 time(s).
06-30-2008 01:09 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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