|
-
Feb 11th, 2006, 07:08 PM
#1
Thread Starter
Addicted Member
progress bar vb2003
Hey. I tired out vb2005 for a while, and I noticed that the progressbar in it has a setting to let it just increase itself. It only uses like 5 bars but keeps going by itself without a timer. Is there a way I can do this type in 2003? I really want it to have only 5 bars and go itself.
Thanks
John
-
Feb 11th, 2006, 07:34 PM
#2
Re: progress bar vb2003
You mean setting the Style property to Marquee I take it. This is a new addition for .NET 2.0 for which there is no equivalent in .NET 1.x. It was high on many people's wish list, which is why they have now added it. If you want to do the same you will either need to hack something together or find a third-party solution. None of the third-party solutions I've seen look like the standard ProgressBar though, so it means a non-standard UI.
-
Feb 12th, 2006, 04:11 AM
#3
Re: progress bar vb2003
you don't need vs2005 to set the marquee style on a progressbar, it's very easy in vs2002 / 2003
you can set the progressbar style to PBS_MARQUEE using setwindowlong api
then you can use sendmessage ... PBM_SETMARQUEE specifying true or false for the wparam value & the time in milliseconds for the lparam ( the speed of the scroll )
here's the link to one of the many topics i have posted on regarding this ... ~~Scrolling Progressbar~~
mind you, i can also make a progressbar smooth in vs2003 easily
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Feb 12th, 2006, 08:14 AM
#4
Re: progress bar vb2003
 Originally Posted by dynamic_sysop
you don't need vs2005 to set the marquee style on a progressbar, it's very easy in vs2002 / 2003
you can set the progressbar style to PBS_MARQUEE using setwindowlong api
then you can use sendmessage ... PBM_SETMARQUEE specifying true or false for the wparam value & the time in milliseconds for the lparam ( the speed of the scroll )
here's the link to one of the many topics i have posted on regarding this ... ~~Scrolling Progressbar~~
mind you, i can also make a progressbar smooth in vs2003 easily 
Sweet! Could have told me that months ago mind you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|