What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Windows help

Windows help
Author: Message:
Wakaki
Junior Member
**

Avatar

Posts: 30
30 / Male / –
Joined: Jan 2007
O.P. Windows help
help i have a script that says hello and goodbye when you log in or log out :
code:
function OnEvent_Signin(Email)
{
     var Message = "Hello nice to see you again!";
     MsgPlus.DisplayToast("Hello", Message);

}
function OnEvent_Signout(Email)
{
    var Message = "Goodbye hope to see you again!";
     MsgPlus.DisplayToast("Goodbye", Message);
}




and i want to make a window so were they can adjust there own message and sofar with al that documentation and so this is al i have made:
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">

<GlobalColors>
    <GlobalColor Id="green">
        <Red>80</Red>
        <Green>200</Green>
        <Blue>65</Blue>
        <Alpha>220</Alpha>
    </GlobalColor>

    <GlobalColor Id="bg">
        <BaseColor>
            <Saturation>2</Saturation>
            <Brightness>0.6</Brightness>
            <Transparency>82</Transparency>
        </BaseColor>
    </GlobalColor>
</GlobalColors>


<Window Id="WindowSetMsg" Version="1">
    <Attributes>
           <Caption>Windows Live Messenger</Caption>
        </Attributes>
        <TitleBar>
            <Title><Text></Text></Title>
        </TitleBar>
        <Position Width="180" Height="75"/>
        <DialogTmpl/>
        <Controls>
            <Control xsi:type="StaticControl" Id="LblTop">
                <Position Left="10" Top="10" Width="150"/>
                <Caption>Hello world!</Caption>
            </Control>
            <Control xsi:type="ButtonControl" Id="BtnClose">
                <Position Left="112" Top="25" Width="50"/>                <Caption>Close</Caption>
            </Control>
        </Controls>

</Window>

</Interfaces>

and of course a function that works for the close button but i want to make 2 tabs and in those tab i want to make textboxes and so on so please help me a bit

or maybe there somebody can help me making the window or something

This post was edited on 01-01-2007 at 09:05 PM by WDZ.
01-01-2007 03:56 PM
Profile PM Find Quote Report
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
RE: Windows help
Well for a start, to get your close button working, you can change the button's ID to BtnCancel:
code:
<Control xsi:type="ButtonControl" Id="BtnCancel">
   <Position Left="112" Top="25" Width="50"/>
   <Caption>Close</Caption>
</Control>
As a handy hint for anyone developing interface windows, Plus! automatically closes a window when a button with ID BtnCancel is clicked.

As for your other requests, I'd be happy to help you, but I'm not quite sure what you're after. Could you be a little more specific? (What do you mean by "tabs" and "textboxes"?)
01-02-2007 11:51 AM
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