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?