Shoutbox

Progressbar - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Progressbar (/showthread.php?tid=76047)

Progressbar by felipEx on 07-11-2007 at 07:23 PM

hi guys =]

is there a way to make a ProgressBar (in VB) with the Marquee effect?

like this:

code:
<Control xsi:type="ProgressControl" Id="...">
    <Position Top="40" Width="100" Left="10"/>
    <Marquee/>
</Control>

in C# i just change the style (Style=Marquee) but i need the same in VB. can you help me?

thanks for any answer ;)
RE: Progressbar by pollolibredegrasa on 07-11-2007 at 08:39 PM

First off, which version of VB are you using?

I have VB6 and VB 2005 Express and in 2005 there is just an option for it in the progressbar properties.

For VB6, the only way I know of doing it is by sending a new GWL_STYLE message to the progressbar using the SendMessage API, however it will only work correctly if your VB application has the XP style enabled (using a manifest) and you are using version 6 of comctl32.

MSDN info about progressbar Styles (it seems down atm, but I was on that page earlier, dunno whats up..)

Hope this helps ;)