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

ProgressBar Marquee
Author: Message:
FineWolf
Full Member
***

Avatar
Space Artist

Posts: 188
Reputation: 12
– / Male / Flag
Joined: Sep 2003
O.P. ProgressBar Marquee
I'm working on a script that does lengthy instructions on first run (sets up an encryption scheme and everything). Right now I'm trying to use a progress bar in Marquee mode to show the user the script is still working, but... starting the animation on the bar gets tricky.

Control:
code:
<Control xsi:type="ProgressControl" Id="ProgressBar">
    <Position Top="92" Width="280" Left="23" Height="15"/>
    <Marquee/>
</Control>

Code (After window creation):
code:
var WM_USER = 0x400;
var PBM_SETMARQUEE = WM_USER + 10;

var api_response = WizardWindow.SendControlMessage("ProgressBar", PBM_SETMARQUEE, 1, 250);

api_response always returns 1, indicating that the animation should be working,  but it doesn't. Any ideas?
[Image: spacesigkj4.png]
07-02-2006 10:58 PM
Profile PM Web Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: ProgressBar Marquee
After pasting the XML in, the progress bar does a marquee by itself. No code is required. EDIT: it works fine with the code too ;)

This post was edited on 07-02-2006 at 11:01 PM by deAd.
07-02-2006 11:00 PM
Profile PM Find Quote Report
FineWolf
Full Member
***

Avatar
Space Artist

Posts: 188
Reputation: 12
– / Male / Flag
Joined: Sep 2003
O.P. RE: RE: ProgressBar Marquee
quote:
Originally posted by deAd
After pasting the XML in, the progress bar does a marquee by itself. No code is required. EDIT: it works fine with the code too ;)


Doesn't here. It is because the bar is in a childWindow?

Edit: Nevermind, Visual Style problem, totally unrelated to Messenger Plus! At least people know how to speed up the animation now... Or stop it when not needed.

This post was edited on 07-02-2006 at 11:28 PM by FineWolf.
[Image: spacesigkj4.png]
07-02-2006 11:02 PM
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