What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Help with a control

Help with a control
Author: Message:
Dennis Mike
Junior Member
**

Avatar

Posts: 59
Reputation: 2
33 / Male / –
Joined: Jan 2007
O.P. Help with a control
need the name de this control [Image: control.jpg]
y need know everything of the it. from atributes even get value
thank's
01-13-2007 06:34 AM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Help with a control
Its a SliderControl.

Javascript:
code:
var WM_USER = 0x0400;
var TBM_SETPOS = (WM_USER+5);
var TBM_GETPOS = WM_USER;

/*
    Used to set the current position in the slider
        > pPlusWnd is the window object saved into a variable.
            > var pPlusWnd = MsgPlus.CreateWnd('mywindow.xml', 'MyWindow');
        > sldrName is the name of the slider object
*/

pPlusWnd.SendControlMessage('sldrName', TBM_SETPOS, true, 100);

/*
    Used to set the current position in the slider
        > pPlusWnd is the window object saved into a variable.
            > var pPlusWnd = MsgPlus.CreateWnd('mywindow.xml', 'MyWindow');
        > sldrName is the name of the slider object
*/

var _currentPos = pPlusWnd.SendControlMessage('sldrQuality', TBM_GETPOS, 0, 0);

XML:
code:
<Control xsi:type="SliderControl" Id="sldrQuality">
    <Position Top="40" Width="80" Left="160" Height="13"/>
    <Attributes>
        <AutoTickMarks>True</AutoTickMarks>
    </Attributes>
    <Range>
        <Minimum>0</Minimum>
        <Maximum>100</Maximum>
    </Range>
</Control>

This post was edited on 01-13-2007 at 02:50 PM by matty.
01-13-2007 02:45 PM
Profile E-Mail PM Find Quote Report
Dennis Mike
Junior Member
**

Avatar

Posts: 59
Reputation: 2
33 / Male / –
Joined: Jan 2007
O.P. RE: Help with a control
how detect if move the slider control?
01-21-2007 02:01 AM
Profile 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