What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Progressbar

Author: Message:
Scripting Contest Winner

Posts: 378
Reputation: 24
31 / Male / Flag
Joined: Jun 2006
O.P. Progressbar
hi guys =]

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

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

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

thanks for any answer ;)

This post was edited on 07-11-2007 at 07:58 PM by felipEx.
07-11-2007 07:23 PM
Profile E-Mail PM Find Quote Report
Full Member

formerly fatfreechicken

Posts: 483
Reputation: 34
31 / Male / Flag
Joined: May 2005
RE: Progressbar
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 ;)

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
07-11-2007 08:39 PM
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