What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » window from left to right !

window from left to right !
Author: Message:
rakan938
New Member
*


Posts: 2
Joined: Oct 2009
O.P. window from left to right !
How do I make the window from left to right by a file XML .. I tried to do so by code:

code:
<Window Id="WndPreferences" Version="1">
    <Attributes>
        <Align>right</Align>
    </Attributes>
</Window>

And fails.

Is there a way to do that?
10-26-2009 09:32 AM
Profile E-Mail PM Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
36 / Male / Flag
Joined: Jul 2007
RE: window from left to right !
Hello rakan938,

There is a flag parameter for MsgPlus.CreateWnd.

Syntax

code:
[object] CreateWnd(
    [string] XmlFile,
    [string] WindowId,
    [number,optional] Options
);

Parameters

XmlFile

[string] Path to the Interface XML file. This is where the entire window is defined. The path is relative to the script's directory by default, to override this behavior, prefix the path with "\". Example: "\C:\directory\windows.xml".

WindowId

[string] Unique identifier of the window to create. A window with the same identifier has to be found in the XML file for the function to succeed.

Options

[number,optional] If specified, this parameter can be one of the following numbers:

WNDOPT_NORMAL (0)
WNDOPT_INVISIBLE (1)
WNDOPT_NOACTIVATE (2)

Display the window normally (default)
Don't show the window after it's been created
Don't activate the window after its creation

The following flags can also be added to specify additional characteristics:

WNDOPT_RTL (128)

Display the window with a right-to-left layout (if supported by the system).
Requires Messenger Plus! 4.10 or above.
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
10-26-2009 09:38 AM
Profile E-Mail PM Web Find Quote Report
rakan938
New Member
*


Posts: 2
Joined: Oct 2009
O.P. RE: window from left to right !
Thank you very much .. The technique worked ..
code:
MsgPlus.CreateWnd("index.xml","WndPreferences",128);

(F)
10-26-2009 09:48 AM
Profile E-Mail PM Find Quote Report
mynetx
Skinning Contest Winner
*****

Avatar
Microsoft insider

Posts: 1175
Reputation: 33
36 / Male / Flag
Joined: Jul 2007
RE: window from left to right !
You’re welcome! :)
mynetx - Microsoft, enhanced.

You have a problem or issue with Windows, Internet
Explorer or Office?
Send a tweet!
10-26-2009 09:51 AM
Profile E-Mail PM Web 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